I would like for the cells in my grid to not give me another row for editing in the same cell when the enter key is pushed. I would prefer that the editing is ended, or even the current cell is advanced to the next cell when pressing enter. I cannot find a property to adjust this behavior. Also, I tried intercepting the enter key in the Keydown event...it isn''t firing the event on Enter though.
Anyone have any ideas?
ADAdministrator Syncfusion Team December 26, 2003 01:26 PM
The default behavior is for the grid to move the current cell to the right when you press Enter while editing a TextBox cell.
If you are seeing the cell accept the Enter key, then check to see if you have somehow explicitly set style.AllowEnter = true for that cell. In a GridDataBoundGrid, you might have done this with the GridBoundColumn.StyleInfo.AllowEnter property for this column, or maybe with the TableStyle.AllowEnter property. With a GridControl, the property might have been set on the cell style or one of the other styles that is used to determine the behavior of a cell.
DCDavid CottleDecember 26, 2003 08:07 PM
That was it. I am still a newb using this grid so thanks for answering the newb question for me.