Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Uncaught range error when implementing remote paging manually
posted

Hi

I was trying to implement remote paging manually, and I mapped the datasource to be an api that gives json data, everything is working fine except when I passed large number in the totalRecordCount for the remote paging feature, it will cause the below error (e.g. the json returned by the api is {data: [...], totalRecordNumber: 10000}, when the totalRecordNumber gets big, it will become slower, and eventually it will cause the error), and interestingly enough, when I disable the paging dropdown by make the pageCountLimit even bigger, the error just goes away!

please help!

sincerely

Weipeng