View Full Version : How to get record that is edited in editor's keypress event?

4 Dec 2009, 1:41 AM
We have EditorGrid with RowSelectonModel. We want to call function and pass it edited record in fields editor keypress event. We tried to get it with getSelected(), but it occurs that there may be situation where selected row and edited row is not the same. So how can we get the record that is edited?

4 Dec 2009, 12:39 PM
Try using the events model for the Grid to determine what event is happening in the editor.

afteredit, rowclick events seem to be what you are looking for.

If you are interested in finding out what events get fired. Use this (http://blog.extjs.eu/know-how/which-events-are-fired/).

8 Dec 2009, 2:24 AM
Thanks for the link, it was beforeedit that helped me.