Ext version tested:
  • Ext 4.0.6

Browser versions tested against:
  • FF6 (firebug 1.8.2 installed)
  • Chrome 13.0.782.220

DOCTYPE tested against:
  • strict

Description:
  • I'm am using a grid with cell editing on Ext.Direct store. When new row (record) is added, app fires
    Code:
    edit.startEditByPosition({
                row: 0,
                column: 0
            });
    Editor is shown at the right position, but a second after it loses focus to GridView, causing it to disappear.

    In Ext.grid.plugin.CellEditing, line 402, sm.selectByPosition(position); is fired before startEdit method, though it apparently focuses cell after editor is shown. Ext.FocusManager clearly shows how focus is being switched from editor to gridview, thus requiring additional initialization of the editor.

    If more explanation is needed, please let me know.


You can see it in action here:
http://grgur.com/2011-09-13_1309.swf
http://grgur.com/2011-09-13_1316.swf