Data Grid — State persistence
Data DisplayExamples
Save and restore the view
stateKey saves the sort, filters, search, page, page size and column widths, order and visibility in localStorage and restores them when the grid comes back: sort or resize a column, then reload the page. getState() / setState() store the same object elsewhere (user settings on the server); resetState() returns to the defaults and forgets the saved view.
| Ana Popescu | Paid | 120.00 |
| Mihai Ionescu | Open | 75.00 |
| Elena Dumitru | Paid | 310.00 |
| Andrei Stan | Refunded | 42.00 |
| Ioana Marin | Open | 198.00 |