#104065
pbgcosta
Participant

Hi Svetoslav

Thank you for your answer.

I tried but had the same result. Like I wrote above even If i don’t sort the table ..if I call resultCallbackFunction with virtualDataSourceLength = the total length of the data I get two requests (and sometimes three!!). It even happens on one of the site examples. Just check

https://www.htmlelements.com/demos/table/server-side-paging-sorting-filtering-mysql-php/

with the dev tools and you will see two initial requests.

If I set virtualDataSourceLength to a big value in the table properties and then return that value in resultCallbackFunction there’s only one request .. but that makes the info on paging wrong!

Thanks and regards

Pedro Costa