Definitely FB3.2 ... it so slow compiling with FB3 I wish it was 
FB2 :)

Umm unfortunatley I have inherited a design that requires the pop in 
a window that already overlaps the Grid (and is centered on the 
application not the control or grid) so for sure its outside the grid 
bounds.

Yeah I think maybe I will have to look at overriding createItemEditor.

tks
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> 
wrote:
>
> The owner code was added in Moxie.  Are you using 2.x?
> 
>  
> 
> Can you make the popup a child of the editor?  The editor itself is 
not
> clipping so you can overlap it and go outside its bounds.  However, 
the
> DG will eventually clip it.
> 
>  
> 
> You may be able to override createItemEditor and recycle editors.
> 
>  
> 
> ________________________________
> 
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions
> Sent: Wednesday, October 17, 2007 12:02 AM
> To: [email protected]
> Subject: [flexcomponents] Re: Popup Editor in DataGrid
> 
>  
> 
> 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 [email protected]
> <mailto:flexcomponents%40yahoogroups.com> , "reflexactions" 
> <reflexactions@> 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 [email protected]
> <mailto:flexcomponents%40yahoogroups.com> , "Alex Harui" <aharui@> 
> > wrote:
> > >
> > > Set .owner of the popup to your renderer/editor.
> > > 
> > > 
> > > 
> > > ________________________________
> > > 
> > > From: [email protected]
> <mailto:flexcomponents%40yahoogroups.com> 
> > > [mailto:[email protected]
> <mailto:flexcomponents%40yahoogroups.com> ] On Behalf Of 
reflexactions
> > > Sent: Tuesday, October 16, 2007 11:29 PM
> > > To: [email protected]
> <mailto:flexcomponents%40yahoogroups.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
> > >
> >
>


Reply via email to