Priya
Priya

Reputation: 29

How to sort all data in a paginated data grid

I have paginated data grid having more than 5 pages (100 records/page) now i want to sort them all on just clicking on fields header

Upvotes: 0

Views: 373

Answers (1)

Wade Mueller
Wade Mueller

Reputation: 6059

The easiest way I have found to do this is to implement this on the server side and have your web service call take parameters for range (or page number and page size) and sort order. Then override the default behavior of the data grid headers to make service calls rather than sort the local data.

Upvotes: 1

Related Questions