EditedItemPosition should be read/write.

On 5/10/10 2:44 AM, "DevSachin" <[email protected]> wrote:







Hi Alex,
I studied your example at
http://blogs.adobe.com/aharui/2008/08/datagrid_with_popup_editor.html

I have created "editing cell with popup editor with ADG " and also implement
cell edit in double click instead of single click.
I have written itemeditBeginning handler and written a condition where if
data is Date type then use prevent default to stop event processing and show
popup editor to edit the cell. If data is not Date type then
itemeditBeginning  goes with default behaviors(i.e. direct edit the cell).
I have a problem when i close popup form then focus is going to lastEdited
cell. some time it goes to first cell of the ADG(i.e. column[0]row[0]).
Since editedItemPosition is readonly so i can not set it.  How can i set
focus to the cell which is double clicked or what is the solution of the
problem.

Please let me know

Thanks
Sachin

--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to