OData Server Operations

You can sort, filter, or paginate the data to which the Grid is bound by using the OData service.

To apply the data operations on the server, process the parameters by utilizing the toODataString function which is part of the Data Query package.

The following example demonstrates how to request and process data by handling the onDataStateChange event. In addition, the sample also shows how to:

  • Separate the data request and response logic from the declaration of the Grid.
  • Debounce the event to avoid multiple requests at the same time.
  • Show a loading panel over the Grid during data fetching.
Example
View Source
Change Theme:

In this article

Not finding the help you need?