Tab at the end of a row

Hi, I am using a grid control and I wanted to have the tab key take the current cell to the begining of the next row when pressed on the last column of a row. I am currently using the CurrentCellKeyDown event but it doesn''t fire if the current cell is in edit mode. Neither does the CurrentCellKeyPress or grid_KeyPress event. HOw can I make tab move the current cell to the next row when the cell is in edit mode? Thanks, Gordon

2 Replies

AD Administrator Syncfusion Team November 3, 2004 04:22 PM UTC

There is a property setting that will give you this behavior without handling key events. Try setting: this.gridControl1.Model.Options.WrapCellBehavior = GridWrapCellBehavior.WrapRow;


GR Gordon Rhea November 3, 2004 05:25 PM UTC

That did the trick. Thanks Clay Gordon

Loader.
Up arrow icon