Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to sort a grid column by its values and its group summary at the same time

$
0
0

This example demonstrates how to implement the following behavior:
When a column is sorted, the grid displays groups based on the column's group summary value. Rows inside the group are also sorted based on the column's sort order.

To do so, it is necessary to:
1) Save the column's sort order in the grid's BeforeGetCallbackResult event handler;
2) Restore this state in the grid's Init event hander.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>