I believe you are describing something different than what I am describing. The dataProvider starts off life with every element in a "false" state, or unchecked. You check one box. Slide the bar. And other boxes in other rows magically check themselves.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, March 08, 2007 6:24 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] checkbox in datagrid with vertical slider bar That's a common misunderstanding. The checkbox is driven by properties of the items in the dataprovider. If you check a box and do not update the dataprovider, then when the checkbox is forced to re-render after scrolling it will not be checked. The key is to use rendererIsEditor and other related properties. ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lisa Nelson Sent: Thursday, March 08, 2007 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] checkbox in datagrid with vertical slider bar If I check a box in a row other than the top row, and then slide the vertical scroll bar down so that the rows go off the top, and then slide it back up so that the rows that went off the top come back, rows that I did not check now show up as checked. Does anyone know if this is a Flex bug or is it something I'm doing wrong? <mx:DataGridColumn id="applyCol" headerText=" Apply" dataField="apply" itemRenderer="mx.controls.CheckBox" rendererIsEditor="true" textAlign="center" editable="true" editorDataField="selected" width="40" />