Hi there,
So, I know that paging a listgrid is easy and you just use dataPageSize. But, what if I want to call fetchData directly on a Datasource and I want the results to get returned to the client in pages? I have a Datasource.fetchData call that responds with too many rows for our users in one request. So, I'd like to automatically page the responses so that the fetchData possibly fetches all data over the span of several automatic paging requests and our callback logic will be able to detect when all rows have arrived. Is that possible with Datasource.fetchData? I'm guessing I'll have to add some custom logic to make it happen so any suggestions on how to do this would be helpful.
Thanks.
So, I know that paging a listgrid is easy and you just use dataPageSize. But, what if I want to call fetchData directly on a Datasource and I want the results to get returned to the client in pages? I have a Datasource.fetchData call that responds with too many rows for our users in one request. So, I'd like to automatically page the responses so that the fetchData possibly fetches all data over the span of several automatic paging requests and our callback logic will be able to detect when all rows have arrived. Is that possible with Datasource.fetchData? I'm guessing I'll have to add some custom logic to make it happen so any suggestions on how to do this would be helpful.
Thanks.
Comment