Rather than loop over the rows and columns and try to get a reference to the checkbox, I think you should simply iterate over the dataProvider object array itself.
If you used the example in Flex Explorer, the cell renderer updates the dataProvider on click, so the dataProvider will always have the value of the checkbox. Tracy -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of micahknox Sent: Thursday, September 08, 2005 6:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Access column in datagrid like an array I have a datagrid that has a custom renderer as the first column and it is a checkbox. I got it off the flex samples I think. Anyway, I would like to have a function that loops through the datagrid rows and checks to see if that check box is checked for each row. I need this function to run from a button click event. Is this possible? -- 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/ <*> 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/