Hi Support,
For XamGrid in Silverlight, I want the sorting of a TemplateColumnn to be performed based on a Hidden Column.
please suggest how can I achieve this?
a quick response would be greatly appreciated.
Thanks,
Shakti
Thanks for response. I will try the suggest approach.
In a TemplateColumn the datatype of the column is bound to the field that the key would map to. If you want to use the full data object in your sort comparer then you would need to be an unbound column.
Otherwise, you can attach to the ColumnSorting event, look for the key of the column that you want to redirect, if you see that key add your redirected column to the SortedColumns collection and cancel the current sort action instead.
how can i access another column value in MyCustomSort's Compare method in below example:
http://help.infragistics.com/Help/NetAdvantage/Silverlight/2011.2/CLR4.0/html/SL_xamGrid_Custom_Sort.html