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?
Hello,
To enable row headers sorting you should set "AllowHeaderRowsSorting" property to true. You should keep in mind that you should have a parent cell where the sort indicator will be shown on mouse over. You can refer to the attached screenshot.
Thanks,
M.Yovchev
Sometimes a simple solution can be found :)
This work perfect, thanks.