View Full Version : RowEditing modifications

29 Sep 2016, 5:47 PM
All I want to be able to get the same effect from selecting another cell as I get from pressing [enter].

Gary Schlosberg
30 Sep 2016, 6:56 AM
I moved your thread from the GXT forum. So you are editing a cell and you'd like a click on another cell to simply stop the current edit rather than starting an edit in the new cell? How about setting the clicksToEdit (http://docs.sencha.com/extjs/4.2.5/#!/api/Ext.grid.plugin.CellEditing-cfg-clicksToEdit) config to 2 clicks?

30 Sep 2016, 8:13 AM
Thanks for your response, but no, what I am looking for is effectively the same behavior that you get with `CellEditing`: [Enter] or click out to save (I am hiding the buttons) and [Esc] to cancel. The button removal is done.
In summation: I want `CellEditing` functionality and `RowEditing` interface (minus buttons)

30 Sep 2016, 8:18 AM
actually, after taking a second look, that is functionally what I want. I just want the `RowEditing` look

Gary Schlosberg
30 Sep 2016, 9:37 AM
Apologies for using a cellediting example -- inadequate levels of coffee. Perhaps you could listen for the blur (http://docs.sencha.com/extjs/4.2.5/#!/api/Ext.Editor-event-blur) event on the editor to keep the next editor from appearing?

30 Sep 2016, 9:45 AM
I am not sure what you mean, I do want the next editor to appear, I want clicking the next row to be the same as hitting [Enter]