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
525
How to do sorting and setting page-index in ONE server round-trip to the server using Grid API?
posted

Hello,

I have implemented server side sorting and paging in Ignite Grid (using MVC wrappers). I need to sort by a specific column using the Grid's API. At the same time I need to jump to a specific Page Index using the Grid's API.This causes two service calls; which I need to avoid.

How can I make the Grid to go to the server only once for these two operations?

One work-around that I ve already tried was to return false from the  dataBinding event for the sorting and then return true when setting the page index. But, this doesn't work - the sorting information is not sent to the server.

NOTE: In near future I also need to filter the Grid using the API; and I would want to generate only a single call to the server for all these three operations. So, I am in a big need of a solution to this problem.

Urgent help shall be appreciated.

Regards,

Arfan Baig