Local or Remote Data Source
The data in the grid might come from a local or remote data source. If you define
grid.url
property, the grid will assume that your data source is remote. Otherwise, the data source is local (all records are stored in
grid.records) array. If data source is remote, the grid will:
- Pull records from the server on render
- Pull records from the server on reload
- Pull more records when user scrolls (if needed)
- Submit search to the server (user types in a search field)
- Submit sort to the server (user click on the column)
- Submit delete when user clicks and confirms delete operation
- Submit save when user clicks the save button
Below is the example of the grid with local data source.