The example posted on Stackblitz project shows a jqxgrid
reading the data using soure.url
parameter.
https://stackblitz.com/edit/github-nkeedt-4nvtkw?file=src%2Fapp%2Fapp.component.ts
Navigate to the page #2 and then hit the Refresh Data
button that calls this.myGrid.updatebounddata();
method that make a new query, downloads an updated data and re-populates the grid. Unfortunately, grid jumps to the first page. I would like the grid to stay on the same page, the page # 2.
How to make jqxgrid stay on the current page after the new updated data is downloaded and the grid re-populated?
The reason I want to grid to be persistent and stay on the same page, is because I want to run this.myGrid.updatebounddata();
every 10 seconds so the grid always shows the up-to-date data. But when I implement the data update, the grid resets to the first page. Please advise.