View Full Version : EditorGridPanel ClickToEdit not Working as Expected

6 Jul 2010, 2:44 AM
I have an issue that can be recreated on http://www.sencha.com/deploy/dev/examples/grid/edit-grid.html

ClicksToEdit:1 works as expected only sometimes - I can select a cell, get the editor, select another cell and get the next editor. However if I change the value of the editor and click another cell the editor doesn't appear. Is this a known issue or is there a way to fix it?

UPDATE: This only happens when selecting another cell on the same row
UPDATE #2: IT appears that cellclick event doesn't fire in this instance. Is this intended?

7 Jul 2010, 3:42 AM
I have had to add this functionality to achieve editing all the time. It's quite tempromental - in fact I had to add the timeout because the edit was getting cancelled otherwise (hence the tempromental nature of the HACK).

Surely I am doing something wrong in the first place to require this?

this.on('cellmousedown', function(grid, rowIndex, columnIndex, e){
var me = this;
me.startEditing(rowIndex, columnIndex);