By default, the up and down arrows move through the same band. If you want to move across bands you can use Tab or Shift+Tab.
If you want to change the behavior of the up and down arrow to match tab and shift+tab, you could modify the KeyActionMappings in the grid. You would need to look for the BelowRow and AboveRow actions and replace these with NextRowByTab and PrevRowByTab respectively. You could also do the same thing in the BeforePerformAction event.
Thanks I used BeforePerformAction.
If e.UltraGridAction = UltraGridAction.BelowRow Then
e.Cancel = True
grid.PerformAction(UltraGridAction.NextRowByTab)
It now works.
Great idea. I'm using it now, too. This works great for keyboard up/down arrows. But what about Page Up/Page Down?
Is there a way to make those keys, too, span bands?
I'm not sure if there are actions for this.Check the UltraGridAction enum and see if there are actions on the list that will page up/down and span bands. If not, you can cancel the action and just set the ActiveRow in the grid to any row you want.