View Full Version : Row Editing Grid: tab to new row

4 Jun 2012, 4:25 AM
Does anyone have example of moving to next row / creating new row after tab press when cursor is in last column? Or, after I press enter I should move to next row in editable state.

Right now, if you are using just keyboard, you have to press enter to confirm current row, then press down to move to next row and then again enter in order to edit it. Not the fastest scenario for keyboard lovers. Also is there a way of "automatic" adding of rows when users reaches last one?

4 Jun 2012, 11:14 AM
Mind you I haven't tried this, but it might be possible to do what you're after via the edit (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.grid.plugin.RowEditing-event-edit) event of the Ext.grid.plugin.RowEditing plugin.

4 Jun 2012, 2:28 PM
This behavior will have to be added. I am not aware of any examples, but as mention, using the events should be the best approach.