Is this to be used in conjunction with setting editable="false? Or is
there a better method of stopping the default text input editor from
showing?

 

Thanks for the quick response,

 

Mark

 

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: 03 October 2007 17:03
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] One click item editor (checkbox item editor)

 

Use a straight-up custom itemRenderer to avoid the default itemEditor
behavior.  You will need to update the dataProvider item in the renderer
yourself.

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Wednesday, October 03, 2007 11:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] One click item editor (checkbox item editor)

 

Hi, I have a datagrid with a column that contains values of "True" or
"False". I've got these hooked up to an item renderer and an item editor
which is basically just a checkbox (in both cases).

 

What I've noticed is, if a user clicks on the item renderer (the
checkbox) the natural expectation would be that the checkbox state would
change - but it doesn't - it just loads the item editor, then the user
has to click a second time to make their changes.

 

Is it possible to have a single click item editor? i.e. when the user
clicks on the checkbox, it actually changes it's value, as opposed to
creating the item editor.

 

Any ideas?

 

Thanks,

 

Mark

 

 

 

 

Reply via email to