The player does not provide status events for a single NetConnection "call" so there's no easy way to get the status events unless you break the requests into smaller pieces. There are two reasons I can think of that paging would slow down sorting. One is if you do not have all of the pages loaded on the client and you try to sort, it would have to fetch all of the pages before it could do the sort. The sort would appear slow but really it is just fetching the data to do the sort. If you are just using paging though to get status events, you could put the app into a "modal" state (i.e. lock out user interaction) until all of the pages have been fetched. After you do a query, you just need to have some code which touches every page in the collection so all pages get fetched. Keep a count of the result events and use that to build your progress bar. The sort should work the same once everything has been loaded.
I could also see a couple of ways you could get slower results with paging because of how the server is implemented. Ordinarily though, with cache-items=true and where the assembler returns the entire collection from the fill method (i.e. not the fill-page method), it should not slow things down to do paging+sorting. Jeff On Tue, May 12, 2009 at 10:22 PM, Dharmendra Chauhan <chauhan_i...@yahoo.com > wrote: > > > Thanks for the reply, > I really cant turn on pagiing because it makes sorting slow by at least 5 > times.Once I did it but had to revert. > > I have to think other way to get rid of this issue. > DataService should dispatch some event which tells the status of data > loading. > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, Jeffrey > Vroom <j...@...> wrote: > > > > You can turn on paging, then listen for the "result" events on the > > DataService. They'll be dispatched once for each page result. > > Jeff > > > > On Tue, May 12, 2009 at 12:15 PM, Dharmendra Chauhan <chauhan_i...@... > > > wrote: > > > > > > > > > > > Hi All, > > > I have flex DataGrid which asynchronously receive data throw LCDS > deployed > > > on Jboss.Initially It loads around 2k to 3k rows > > > I need to show loading status which would just keep showing Data > Loading > > > until data load is complete. > > > > > > DataService class does not have any event which would serve this > purpose > > > > > > Does anybody have any idea on it ? > > > > > > > > > > > > > >