Hello -- I'm using the XamDataGrid, and I need to do a custom sort based on a property from the DataRecord.DataItem, not just the cellValue of the column I'm sorting on. Is there a way to access or pass the DataRecord to IComparer?
column1 column2 column3 prop1 ---- record 1
column1 column2 column3 prop1 ---- record 2
...
column1 column2 column3 prop1 ---- record n
I would like to custom sort on column 2 (when column 2 is grouped) using the value of prop1. Thanks!
Hello Daniel,
Thank you for your post. I have been looking into it and I can suggest you see the sample (CustomOrderInGroup.zip) from this forum thread:
http://ko.infragistics.com/community/forums/p/75182/379935.aspx
which I believe has the functionality you want. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thanks! This is the functionality I need.