The datagrid UI does not support multi-column sort.  If you implement
it, you should call preventDefault() on the headerRelease event so it
doesn't attempt to do a single column sort.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rleuthold
Sent: Monday, October 01, 2007 4:03 AM
To: [email protected]
Subject: [flexcoders] DataGrid & ArrayCollection numerical sort on
multiple columns

 

Hi there,

I know, there are tons of posts in the archive about numeric sort with
Data Grids and an Array 
Collection as Data Provider. But I couldn't find an answer to my problem
in any of them.

I'm atttaching a numerical sort to the Data Provider as described in the
help (with sortFields 
and DP.sort an so on). When I specifiy a numerical sort to just one
field of the Array Collection 
the sorting in the Data Grid works very well. 

But when I specify a numerical sort for different fields in the Array
Collection, I see a number 
just next to the sort marker in the Header Column of the Data Grid and
the sorting is just a 
normal text sort. 

Can somebody explain me this phenomenon ? _rico

 

Reply via email to