Hi All,
I am new to Infragistics and WPF.
My problem is - There is an XamDataGrid on which I need to implement custom sorting. For that I
need the name of column which user clicks for sorting and set it to CustomParameter property of
common:EventCommandTrigger. I am using
CustomParameter
="{Binding ElementName=dgViewAllUDA,Path=DataItem}
Please help.
-Nirmit
Hello Nirmit,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and I suggest you see this forum thread, where there is a sample project with the implementation of a custom sorting:
http://forums.infragistics.com/forums/t/57047.aspx
Also you can use this code:
string fieldName = e.Field.Name;
in the XamDataGrid’s Sorting event to get the Name of the Field that is going to be sorted.
Feel free to write me if you have further questions.