In Flex 2 what you’d do is create a Sort object with a SortField for your column and set it to case insensitive.  Then in the headerRelease event for that column, assign the sort to the dataProvider and call refresh() on it, then call event.preventDefault() so that the DG doesn’t do its own sorting.  You may need to keep track of ascending vs. descending yourself in order to set the right flags.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Harald Dehn
Sent: Tuesday, April 04, 2006 1:51 AM
To: [email protected]
Subject: [flexcoders] DataGrid Columnsort - CaseInsensitive

 

Hello,

 

is there any posibility to sort the columns of a DataGrid caseinsensitve?

 

Harry




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




Reply via email to