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
860
Row sorting in XamPivotGrid
posted

Hello

I've implemented a XamPivotGrid from your "FlatDataSource (Excel file)" sample. 

I want the user to be able to do sorting in the PivotGrid. It is no problem when sorting Measures. Here I get a sort button on the column. However, in my case it is more important to sort the rows. But i dont see any sort indicator here?

I tried to implement a solution from this example: http://help.infragistics.com/doc/WPF/2014.2/CLR4.0/?page=xamPivotGrid_Sorting_Rows_and_Columns.html

But no matter what I try nothing seems to be working. The idea is the user should be able to sort ASC or DESC like the measures. 

My datatypes in the rows is string, numbers or DateTime. I do not have any object (like Sale in the above example) because the Pivot is filled from different Excel sheets. 

Any suggestions/guidelines?