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
490
Key Mappings: select/unselect
posted

Hello,

  Is there a key mapping configuration that will let me select the current row, move down to the cell beneath the current one, and select that row (so the row is selected and the active cell is the BelowCell)?

  I've been trying with something along these lines:

new GridKeyActionMapping( Keys.Down, UltraGridAction.ToggleRowSel,  
  UltraGridState.IsDroppedDown, 0, 0, 0 ) );
new GridKeyActionMapping( Keys.Down, UltraGridAction.BelowCell,
  UltraGridState.IsDroppedDown, 0, 0, 0 ) );
new GridKeyActionMapping( Keys.Down, UltraGridAction.ToggleRowSel,
  UltraGridState.IsDroppedDown, 0, 0, 0 ) );

  But while it moves down - the new row isn't selected and the previous row is not unselected.  Any advice?

Thanks