Probably I should add that the editor still exists when the popup finishes as I pass a callback function into the callback so it can return data.
I do get the data bakc into my editor but when I try to reopen it i get a new instance of the editor not the existing one. I am using this in my editor to try and reactivate itslef.. DataGrid(listData.owner).editedItemPosition = {columnIndex:listData.columnIndex, rowIndex:listData.rowIndex}; Is this correct or is there anohter way for an editor to refocus/reactivate itslef? tks --- In flexcomponents@yahoogroups.com, "reflexactions" <[EMAIL PROTECTED]> wrote: > > Well I already have this in my editor > > lookup.owner = this; > PopUpManager.addPopUp(lookup, this, false); > > > The cell editor loses focus and closes when I click into a TextInput > control that is inside the lookup... > > tks > > --- In flexcomponents@yahoogroups.com, "Alex Harui" <aharui@> > wrote: > > > > Set .owner of the popup to your renderer/editor. > > > > > > > > ________________________________ > > > > From: flexcomponents@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions > > Sent: Tuesday, October 16, 2007 11:29 PM > > To: flexcomponents@yahoogroups.com > > Subject: [flexcomponents] Popup Editor in DataGrid > > > > > > > > I am trying to build a custom editor component for the DataGrid. > > > > When you edit an item you can either edit it inline or show a popup > to > > edit it in full. When you are finished with the popup you drop back > > into the grid editor to complete. > > > > My problem is how to get the data back from the popup to the cell, > when > > I start editing in the popup it removes focus from the cell and > calls > > endEdit even though I dont really want to end editing yet. > > > > So when I am finished with the popup there is no editor for me to > push > > the data back into.... > > > > I dont really want to push the data into a dataProvider as at this > > point its still sort of "uncommited" nether do I want to push it > into > > some static var and hope I can pick it up when the editor opens > again. > > There must be some simple way to do this? > > > > tks > > >