:: Forum >> Version 1 >>

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
Thursday, June 3, 2004
Paging is planned for verion 2.0 (before end of 2004). So it is not near future...
Alex (ActiveWidgets)
Thursday, June 3, 2004
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
Friday, June 4, 2004
Kenneth,

Any chanwce you can share your paging code here?

Shuki
Friday, November 4, 2005



This topic is archived.

Back to support forum

Forum search