Hi,
I am using XamDatagrid.
Here, I am trying to Enabling or Disabling sorting by setting
Disabling sorting:
this.xamDataGrid.FieldSettings.LabelClickAction = LabelClickAction.Nothing;
If i want to enable sorting for only for specific field ..How can i achieve it?
Thank you,
Chandra
Hello Chandra,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking into it and I can suggest you handle XamDataGrid’s Sorting event instead and cancel it depending on the Field that is going to be sorted. The following code shows how to get the Field and how to cancel the sorting:
Field sortedField = e.Field; e.Cancel = true;
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.