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

Print Preview - How to implement a drop-down menu for sorting report data

$
0
0
This example demonstrates how to implement a drop-down menu that allows you to choose the sort order for a table column and then sort a table.
This approach implies that you assign the "Sort_<FieldName>" string to the Tag property of the XRTableCell that represents a header cell. This will initiate sorting for a corresponding data column.

Please note that when using this approach, we recommend using a standard approach, i.e., not to adjust settings by using the band's SortFields collection.

See also:
How to: Sort a Report in the Preview
How to sort a report in preview

Viewing all articles
Browse latest Browse all 7205

Trending Articles



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