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

Paginated Row Filtering

Filter rows on the server before sending page slices to the client.

Note

This guide provides an overview of filtering with a focus on paginated server row data. For detailed guidance on filtering, refer to the Filtering section, starting 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.

Filter Paginated Rows

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