Hi, 
I have bound a Collectionlist of a datagrid which renders the item 
as a checkbox. Im using the default bindling of the datagrid (for 
select and update) to update the selected value back to the 
Collection. This all works fine, and the checked value is reflected 
back into the collection and the source behind the collection. But I 
notice that when the value is set the collection randomly changes 
order hence from the UI the display checkbox keep moving up and down 
(though the selecton value is still correct on each item). Is there 
any reason why this is happening and anyway to prevent it? I just 
want my collection to retain the ordering of the source hence I also 
have not defined any ordering/sorting on my view.

Please suggest a solution.
My only datagrid column looks something like

<mx:DataGridColumn dataField="totalOn" editorDataField="selected" 
    rendererIsEditor="true" headerText="At the change in column(s):">
    <mx:itemRenderer>
      <mx:Component>
        <mx:CheckBox label="{data.displayName}">
        </mx:CheckBox>
      </mx:Component>
    </mx:itemRenderer>
</mx:DataGridColumn>





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



Reply via email to