PDA

View Full Version : Making grid editor forget first click



raj_plays
23 Sep 2013, 9:55 PM
Hi,
I have a GridPanel with a Ext.ux.grid.RowEditor.
The editor is configured to popup the editor when a row is clicked on twice.
I can deselect a selected row by using grid.selModel.clearSelections() but this does not make the editor forget the first click.
When I click on it again, it popups up the editor.
I want the editor to forget the first click when i call clearSelections(). Something like clearClickCount()
Is this possible?

raj_plays
26 Sep 2013, 10:45 AM
Found a way.
Extend the RowEditor from Ext.Window instead of Ext.Panel and set modal to true.
:)