Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1060
Sorting XamPivotGrid Rows
posted

HI,

I have users that would like to sort the rows for Seller Name as in the screen shot.  Is this possible?

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Kevin,

    It is possible to sort the rows that you have shown in your screenshot by using an OrderByKeyExpression in your HierarchyDescriptor for your FlatDataSource. We have documentation that demonstrates how you can do this here: https://ko.infragistics.com/help/wpf/xampivotgrid-sorting-rows-and-columns.

    Please note that with the FlatDataSource, in order for sorts to take effect, you will need to set the PreserveMembersOrder property of the data source to “false.” Without this setting, the rows and columns will always show in the order they appear in the data source.

    Please let me know if you have any other questions or concerns on this matter.

Children