Hi! I was thinking similar to you, but I didn't get it out, how to implement this. How can I react on the itemEditBeginning event within the component. E.g. I've a Canvas as itemEditor. I could open the window on initialize. But: how can I then put some values to the popup? Within the canvas I just have the "data" object, which only gives me the values of the current row in the datagrid. for the popup this may be enough (more or less) but when the popup is closed, how can I dispatch the itemEditEnd or something like that for the grid, without having further information?
Can anyone please show me some lines of code, how to implement this? Thanks, Fritz --- In [email protected], "Michael Labriola" <[EMAIL PROTECTED]> wrote: > > > My first thought: > > I would probably write a simple component that serves as an > itemRenderer. From within that component I would be to launch a > modal popup window from the itemEditBeginning event. Ensure that you > pass the row and the dataGridColumn (much like a labelFunction) to > the new popup. Have it do whatever it is that needs to be done. > > Then listen for the popup to close and manually handle the update to > the collection through the renderer by listening to itemEditEnd. > > This is just a high level thought. There are some other details, but > the concept would probably work with a bit of tweaking. > > --mike > > --- In [email protected], "fritzdimmel" <fritz.dimmel@> > wrote: > > > > 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/

