On 6/24/05, Joe <[EMAIL PROTECTED]> wrote:

> I have a data gris that is sortable. One of the colums has a check box
> in it from a cellrendering file. For some reason when I sort
> the check box does not sort.

See this code, it works (sorting for the second column works):

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
  xmlns="*">
  <mx:DataGrid>
    <mx:dataProvider>
      <mx:Array>
        <mx:Object name="Manish" selected="true" />
        <mx:Object name="Abdul" selected="false" />
        <mx:Object name="Nihit" selected="true" />
      </mx:Array>
    </mx:dataProvider>
    <mx:columns>
      <mx:Array>
        <mx:DataGridColumn columnName="name" headerText="Name" />
        <mx:DataGridColumn columnName="selected" headerText="Selected"
          cellRenderer="CheckCellRenderer" />
      </mx:Array>
    </mx:columns>
  </mx:DataGrid>
</mx:Application>

So could you post your code and we can see why it isn't working?


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