I'm trying to implementing a server side request for pagination / filter / sort data but the documentation is very confused.
The example provides in the infinite row model (https://www.ag-grid.com/javascript-grid-infinite-scrolling/#pagination) uses a .json
file for this. This example loads the entire .json file from a server and then use client functions (sortAndFilter()
, sortData()
, filterData()
) for sort and filter. This is not the server side, it's client side, because all data are fully loaded from the server. If this file has 1Gb of data?
In the real world scenario we don't load all data from the server (like the example does loading the entire json file). We made a request to the server each time the user clicks next page, passing parameters for page/filter and sort data, and loading this filtered/sorted data and then display in the grid.
What I am missing? Does Ag-grid do this different or I'm completly lost? Any simple example with mock server will help a lot.
There is some support tickets opened and closed (#2237, #1148 ...) without clarification. I hope that someone makes this clear.