Hi All,

I'm new to Flex and having a blast learning it but every now and then
I run into small things that make me scratch my head.

I have a column in a datagrid that uses an itemRenderer to fill the
cells with checkboxes. The checkboxes are flush left against the wall
of the cell. In searching your threads, it seems most of you position
the checkbox by wrapping the checkbox in another component, usuaully
an HBox or VBox, in the itemRenderer.

That worked for me except that I lose the selected property for each
row. The datagrid is populated with data from an XML file, and the
first attribute for each node is either true or false, which then sets
the checkbox as checked or not. Once I add aVBox or HBox to my
itemRenderer, I lose this and none of the checkboxes are checked. It
would seem a custom script is needed to ensure the checkboxes are checked.

All I want to do is center my checkboxes. There must be a simple way
of doing this without writing another 50 to 100 lines of code. Am I
missing something?

Thanks,
Jack





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