If you set the dataField="<name of sortable property>" in your columns like this:
<mx:columns> <mx:DataGridColumn headerText="Cards" itemRenderer="com.card.CardItemRenderer" dataField="name"/> </mx:columns> It will know what to sort by. --- In flexcoders@yahoogroups.com, jitendra jain <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Iam using an itemRenderer in DataGridColumn. For some reasons the data is not sorted. Please help. > > Thanks, > > with regards, > Jitendra > > > --------------------------------- > Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. >