Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1330
Down arrow parent chidl bands
posted
I have an UltraWinGrid which has parent and child rows (bands) .When I try to move through the grid using the up and down keys it seems to bypass the child bands. For example1.       If I click on a parent band then press the down key it moves to the next parent and will not move to the child band, even though the parent band has been expanded to show the children. 2.       If I click on a child band and press the down key it will move to the next child band. When it reaches the last child band and I press the down key again it moves to the first child band within the next parent, it doesn’t select the next parent. Any ideas?

 

Parents
  • 469350
    Verified Answer
    Offline posted

    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. 

Reply Children