I have dynamic loading working (Helga, thank you for your earlier help). But I am seeing some unexpected behavior.
It is setup as: using PHP Data Connector, dynamic loading of 10 records at a time, datafetch 10, pager size 10, all columns set for server sorting.
It initially loads directly from
myfile.php
On paging, it then loads from
myfile.php?continue=true&count=10&start=10
Continue paging, another 10, and so on. So far so good.
But once I start sorting, problems come in. Say on page 2 I sort on one of the columns, it goes to:
myfile.php?continue=true&count=10&start=19&sort[field1]=asc
If I then page forward, it goes to
myfile.php?continue=true&count=10&start=24&sort[field1]=asc
Then 32, then 41, then 46, then 51, then 53, then 60
Doesn’t seem to make sense. In some of those cases there are multiple loads (calls to the server) happening PER page. That slows it down significantly. And also, on some of the pages there are empty rows in the datatable.
What would cause this?