Re: [flexcoders] Use a Popup as itemEditor in Datagrids
Now problem has been solved. I use preventDefault in Item_Edit_Begin event after closing the popup. but it prevent it on same condition as in ITEM_EDIT_BEGINNING. it works fine now Thanks Sachin Alex Harui wrote: You may not be able to prevent another edit session from ITEM_EDIT_END, but there should be an ITEM_EDIT_BEGINNING right after that you can use to cancel the editing of that renderer. On 5/11/10 4:51 AM, DevSachin talktosachin2...@rediffmail.com wrote: Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My 50% problem is solved but 50% is still remaining. After closing popup and returning focus to grid, cell is opened in edit mode. I want this cell in renderer mode. How should I dispatch itemEditEnd event from popup so after closing the popup, cell will not goes to edit mode? Thanks In advance Sachin dev tripathi -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui -- View this message in context: http://old.nabble.com/Use-a-Popup-as-itemEditor-in-Datagrids-tp7071004p28535120.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Use a Popup as itemEditor in Datagrids
Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My 50% problem is solved but 50% is still remaining. After closing popup and returning focus to grid, cell is opened in edit mode. I want this cell in renderer mode. How should I dispatch itemEditEnd event from popup so after closing the popup, cell will not goes to edit mode? Thanks In advance Sachin dev tripathi -- View this message in context: http://old.nabble.com/Use-a-Popup-as-itemEditor-in-Datagrids-tp7071004p28523124.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Use a Popup as itemEditor in Datagrids
You may not be able to prevent another edit session from ITEM_EDIT_END, but there should be an ITEM_EDIT_BEGINNING right after that you can use to cancel the editing of that renderer. On 5/11/10 4:51 AM, DevSachin talktosachin2...@rediffmail.com wrote: Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My 50% problem is solved but 50% is still remaining. After closing popup and returning focus to grid, cell is opened in edit mode. I want this cell in renderer mode. How should I dispatch itemEditEnd event from popup so after closing the popup, cell will not goes to edit mode? Thanks In advance Sachin dev tripathi -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: Re: [flexcoders] Use a Popup as itemEditor in Datagrids
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 -- View this message in context: http://old.nabble.com/Use-a-Popup-as-itemEditor-in-Datagrids-tp7071004p28509501.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Use a Popup as itemEditor in Datagrids
EditedItemPosition should be read/write. On 5/10/10 2:44 AM, DevSachin talktosachin2...@rediffmail.com 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
[flexcoders] Use a Popup as itemEditor in Datagrids
Hi! I'm searching for a solution, to use e.g. a popup-window as itemEditor in a flex datagrid. Using a Textinput, NumericStepper, Checkbox, ... is quite easy, but I want to have a little bigger (in size) component. Now I have the problem that, when I use a custom Panel component as itemEditor, that it will be trapped within the datagrid's dimensions. Is there another way (which I haven't found by now) to use a popup as datagrid item editor? Thanks! Fritz -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/