3.0 beta 2

Paging and XML data source

Hello Alex,

I've been messing around with your paging patch in v1.0 and noticed a problem when using an XML data source. It doesn't read the row/count property properly. I hacked it into working by doing:

obj.setProperty("row/count", ###);

Thing is, this only works if you know how many records the XML source has in it, and can provide the ### part. Is there some better way to approach this so that it will work automatically?

Also, an ability to dynamically load XML sources for paging would be superb, I just noticed 2300 records doesn't load very well! :( Is asynchronous paging support in the near future or still on the back burner?

Thanks! Keep up the great work!
Kenneth
June 3,
Paging is planned for verion 2.0 (before end of 2004). So it is not near future...
Alex (ActiveWidgets)
June 3,
Well, in the mean time I've cooked up XML based paging which should work well. I think it may actually be better than the grid doing the paging, as I'm sure it'll be much faster than anything client-side could be. The one main draw back is the sort order is fixed for all the "pages" to work, ie, the user won't be able to resort anything more than what they can see. I guess not such a bad thing anyway. Thanks for the update!
Kenneth
June 4,
Kenneth,

Any chanwce you can share your paging code here?

Shuki
November 4,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.