LyteNyte Grid logo for light mode. Links back to the documentation home page.
Paginated Data Loading

Paginated Row Filtering

Use the server data source to filter rows on the server and return only matching rows for each page request.

Note

This guide covers filtering on paginated server row data. For client-side filtering, start with the Filter Text guide.

Filtering Paginated Rows

To filter rows on the server, define a filter model and include it in each data request. Include the filter model in the queryKey of the useServerDataSource hook. Whenever the filter model changes, the grid fetches a new set of rows from the server.

The following demo passes a custom filter model to the queryKey of the server data source. Click the funnel icon in a column header to apply a filter.

Row Pagination Filtering

Fork code on stack blitzFork code on code sandbox

For more guidance on filtering rows on the server, see the Server Row Filtering guide.

Next Steps