Hey,

I am using a List component with an inline CheckBox item editor. All is 
good, except I would like the CheckBox editor  to always be visible, not 
just when a user clicks into the cell.  I couldn't see any way to make 
the editor always visible.

Alternatively, I tried using an inline renderer, and connecting the 
CheckBox.change event to a handler in my containing component. 
Unfortunately, since the CheckBox is defined in an <mx:Component /> 
block, "this" isn't the containing component, but some strange generated 
Flex class.

I did get it to work, sort of, by creating an external renderer 
component that extends CheckBox and has hardcoded bindings to a 
particular field. This is not what I was hoping for, but it does work.

In general, there doesn't seem to be any way to pass values to the 
renderer/editor components outside of the list API. If anyone has any 
ideas, please let me know.

Thanks,
-Daniel


--
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/
 



Reply via email to