Actually, you can define a  compare  function for the datGrid to use, then
check in your function if you are going to compare numbers or strings and go
from that on.
I did that some time ago, if anyone is interested int he code I´ll be glad
to share.

I´ve used the DataGrid on my example for the SQLite Connector at
http://www.Software-and-Solutions.de You might want to give it a try to see
how the DG performs. 
The DB that comes with tbe Example will produce you a very large result set
if you try that Query:

Select * from City Join Country Limit 1000;

Be sure to adopt the Limit to the number of rows you want, if you SELECT
without an limit you´ll get back millions of rows...

Hit the SELECT button to parse the data into the DG, or the QUERY button to
directly show the raw text data, thus allowing speed comparisons


hth

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Thursday, March 16, 2006 2:37 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] DataGrid Component Performance

>It might be interesting to try delegating sorting to the server and getting
a permutation vector back...but even then, it might give you trouble.

I rethought this. I imagine the issue surrounding the sort is related to the
calculations done by the grid, and probably not the sort itself.

Scott

-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of Scott Hyndman
Sent:   Wed 3/15/2006 8:33 PM
To:     Flashcoders mailing list
Cc:     
Subject:        RE: [Flashcoders] DataGrid Component Performance

Expand rows? Like a tree/table idea? No, it can't.

It is build to handle thousand of rows, but there a couple of issues.
Population of the datagrid is slow as molasses. You might be able to short
circuit your way into some better performance, but it's a crapshoot. Also,
don't even bother trying to sort. It might be interesting to try delegating
sorting to the server and getting a permutation vector back...but even then,
it might give you trouble.

Also, column sorting is limited to string sorts. When I needed more complex
sorting behaviour, I achieved it by subclassing DataGridColumn (might be
named differently, it's been awhile) and hooking into the header's press
handler.

Hope this helps,

Scott

-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of varfoo
Sent:   Wed 3/15/2006 8:17 PM
To:     Flashcoders Mailing List
Cc:     
Subject:        [Flashcoders] DataGrid Component Performance

Anyone have a feel for how this component performs.  Can you expand rows?
Can it handle thousands of rows?
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com







_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to