In order for you to sort and still have paging, you will need to do 
the sort server-side.  Everytime you click sort, you will need to 
disable the default client-side sorting, and send the sort request to 
the server. 
Paging is built into Flex Data Services (FDS), but it is not a real 
paging solution, since it still need to get all 10K entries from the 
database (for example), cache all of that server-side.  The only 
benefit is the network traffic, so you don't have to shove 10K 
through the network to your clients, but maybe 100s as needed.
Then again it might not worth it.  For small dataset, client side is 
much faster and much easier.  For super super large dataset, you will 
kill your server with all the caching.

Best solution i think is using Matt Chotin's Large Data Sets paging 
solution. You can read it here 
http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets
.cfm.  I'm trying to get it to work with Flex 2.  If anyone has a 
solution, it would be super kooo.

Vu







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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to