Re: [flexcoders] Datagrid ItemEditor - multiple data edits?

2007-12-07 Thread Rick Schmitty
Sorry, I normally hate thank you emails but, really, thank you both
for the tips :)  I appreciate it!

On Dec 6, 2007 7:39 AM, Ken Dunnington <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I'm doing exactly that, and it is pretty easy. Here's the LiveDoc link:
> http://livedocs.adobe.com/flex/201/html/celleditor_073_15.html#247667
> and you also might want to read over this bit on making your custom editor
> respond to keyboard events (enter and escape, for example)
>  http://livedocs.adobe.com/flex/201/html/celleditor_073_07.html#208069
>
>
> On Dec 5, 2007 6:05 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Sure, this should not be difficult.  Have your renderer do its own
> updating of the dataProvider item, and don't attempt to use the
> renderIsEditor or other built in item editor functionality.  The renderer
> gets a reference to the entire item, so it can manipulate that data however
> you want.
> >
> >
> >
> > I also recall a document topic about returning multiple values from a
> renderer, that might be useful.
> >
> >
> >
> > Tracy
> >
> >
> >
> > ________
>
> >
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Rick Schmitty
> > Sent: Wednesday, December 05, 2007 2:43 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Datagrid ItemEditor - multiple data edits?
> >
> >
> >
> >
> >
> >
> >
> > Is it possible for an ItemEditor in a datagrid (or some other way) to
> > allow you to edit 2 or more things at once? Like say instead of a
> > combo box dropdown for a cell in a datagrid, could you have an item
> > editor that is like a mini form update multiple data objects in that
> > row's data that may not be displayed in the datagrids view
> >
> > Or Flex3 advanced datagrid something I should look into? Or this will
> > have to be completely custom and kinda 'fake' this behavior
> >
> >
>
>
>
> --
> Suppose you were an idiot. And suppose you were a member of congress. But I
> repeat myself.
>  -- Mark Twain
>  


Re: [flexcoders] Datagrid ItemEditor - multiple data edits?

2007-12-06 Thread Ken Dunnington
I'm doing exactly that, and it is pretty easy. Here's the LiveDoc link:
http://livedocs.adobe.com/flex/201/html/celleditor_073_15.html#247667
and you also might want to read over this bit on making your custom editor
respond to keyboard events (enter and escape, for example)
http://livedocs.adobe.com/flex/201/html/celleditor_073_07.html#208069

On Dec 5, 2007 6:05 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote:

>Sure, this should not be difficult.  Have your renderer do its own
> updating of the dataProvider item, and don't attempt to use the
> renderIsEditor or other built in item editor functionality.  The renderer
> gets a reference to the entire item, so it can manipulate that data however
> you want.
>
>
>
> I also recall a document topic about returning multiple values from a
> renderer, that might be useful.
>
>
>
> Tracy
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Rick Schmitty
> *Sent:* Wednesday, December 05, 2007 2:43 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Datagrid ItemEditor - multiple data edits?
>
>
>
> Is it possible for an ItemEditor in a datagrid (or some other way) to
> allow you to edit 2 or more things at once? Like say instead of a
> combo box dropdown for a cell in a datagrid, could you have an item
> editor that is like a mini form update multiple data objects in that
> row's data that may not be displayed in the datagrids view
>
> Or Flex3 advanced datagrid something I should look into? Or this will
> have to be completely custom and kinda 'fake' this behavior
>
>  
>



-- 
Suppose you were an idiot. And suppose you were a member of congress. But I
repeat myself.
-- Mark Twain


RE: [flexcoders] Datagrid ItemEditor - multiple data edits?

2007-12-05 Thread Tracy Spratt
Sure, this should not be difficult.  Have your renderer do its own
updating of the dataProvider item, and don't attempt to use the
renderIsEditor or other built in item editor functionality.  The
renderer gets a reference to the entire item, so it can manipulate that
data however you want.

 

I also recall a document topic about returning multiple values from a
renderer, that might be useful.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Schmitty
Sent: Wednesday, December 05, 2007 2:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid ItemEditor - multiple data edits?

 

Is it possible for an ItemEditor in a datagrid (or some other way) to
allow you to edit 2 or more things at once? Like say instead of a
combo box dropdown for a cell in a datagrid, could you have an item
editor that is like a mini form update multiple data objects in that
row's data that may not be displayed in the datagrids view

Or Flex3 advanced datagrid something I should look into? Or this will
have to be completely custom and kinda 'fake' this behavior

 



[flexcoders] Datagrid ItemEditor - multiple data edits?

2007-12-05 Thread Rick Schmitty
Is it possible for an ItemEditor in a datagrid (or some other way) to
allow you to edit 2 or more things at once?  Like say instead of a
combo box dropdown for a cell in a datagrid, could you have an item
editor that is like a mini form update multiple data objects in that
row's data that may not be displayed in the datagrids view

Or Flex3 advanced datagrid something I should look into?  Or this will
have to be completely custom and kinda 'fake' this behavior