View Full Version : Moving vertically (top-down) on Grid using Tab Key

30 Jan 2014, 7:28 AM
Hi all,

I have a grid with 3 columns. Only columns 2 and 3 can be edited.
If I click a cell in the second column (activating that way the editor) and press the TAB key then the next cell (same row, column 3) is selected and enabled for editing.

What I want is to change that behavior so, if I'm editing a value in column 2, pressing the TAB key must take me to the next value on the same column (next row). That way, if I'm on the last value on column 2 the TAB key must take me to the first value on the column 3.

I mean, I need the TAB key to work Top-Down and then Left-Right instead Left-Right and then Top-Down.

Is this possible?

Gary Schlosberg
31 Jan 2014, 6:55 PM
I don't see why it wouldn't be possible, but you'll have to create the functionality yourself. You can try listening to specialkey for TAB, and based on the cell you're in, startEditByPosition in the cell you want.