I am using SortDescriptor for multi column sorting in TreeListView. My requirement is there is a context menu appearing on columns cells with option like "Sort Ascending" & "SortDescending". When user right click on any cell then i find the corresponding column and add to SortDescriptor. So now when i add the column to SortDescriptor then the column header is highlighted with a small tringle. This is working fine for multiple columns.
My Problem is suppose I have 10 columns out of which I have added three columns to SortDescriptor and now 3 column header are highlighted. This is done by right click context menu. Now user directly click on 4th column header to sort. In that case the previous 3 columns are removed from SortDescriptor automatically and the user clicked column only highlighted. In my case I need to show all those 4 columns highlighted with 4 values in SortDescriptor. Please help me how I will be able to do.
Thanks
My Problem is suppose I have 10 columns out of which I have added three columns to SortDescriptor and now 3 column header are highlighted. This is done by right click context menu. Now user directly click on 4th column header to sort. In that case the previous 3 columns are removed from SortDescriptor automatically and the user clicked column only highlighted. In my case I need to show all those 4 columns highlighted with 4 values in SortDescriptor. Please help me how I will be able to do.
Thanks