Changing the text in the editor should not change the underlying cell data
so ESC should still work. If it is changing the underlying data, then maybe
your code for updating the editor isn't correct.
The ITEM_EDIT_BEGIN event should create the editor. However, it usually
gets created after your ITEM_EDIT_BEGIN handler gets called. You could try
listening for FocusEvent.FOCUS_IN and see if the object added is the
itemEditorInstance, then modify the text in the editor and set its cursor
sweet - followed your advice and got it to work.
1 person found this helpful
Your code is changing the dataProvider. There should be no need to do that.
Instead, save the event.charCode and in the createItemEditor override,
that's where you'd set t.text.
I think you'll need to wait for FOCUS_IN to set the selectionIndex though.