So I used the installer to install Flex 4.14.1 in combination with Air 22.0. 
I thought initially that it helped because the first sort took about 4
seconds.  But all subsequent sorts on the headers took anywhere from 12-30
seconds.  The ArrayCollection that I am using just has fairly bland info in
it - text in the form of addresses and cities, integers in the form of
zipcodes, and four columns that contain either integers or numbers that are
formatted using a currencyformatter for prices.  The size of the array is
about 38k records by 25 columns. I store the dates in my database as
integers, and then convert it to simply days in my dataprovider
arraycollection when I populate it, so it should not be a complex object. 
The only other thing that I did is I converted all of the objects in my
ArrayCollection to objectProxies because I was getting binding errors in my
itemRenderer and that got rid of them. So I have an arrayCollection with
ObjectProxies that contain, strings, integers, and numbers, four of which
have a currencyformatter associated with them.

I have installed Scout if there is anything in particular that you would
like to see.  Please let me know if you have any other thoughts or
suggestions.  I can't really show the program to a client like this, it is
crazy slow.

I doubt it, but would disabling sorting on the headers and creating my own
sorts help at all?



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Why-are-Spark-Datagrid-headers-sorting-my-data-so-slowly-in-Air-tp13026p13040.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to