Hello,
I want to disable the drag and drop feature that allow user to change order of headers.
How I can achieve this ?
Thanks for your help
You can achieve this by setting AllowFieldMoving property to No. Here is a snippet:
<igDP:XamDataGrid Name="xamDataGrid1" BindToSampleData="True"> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AllowFieldMoving="No" /> igDP:XamDataGrid.FieldLayoutSettings> igDP:XamDataGrid>
You can read more details about it from the following link from our online documentation:
http://help.infragistics.com/doc/WPF/2015.1/CLR4.0/?page=xamDataGrid_About_Field_Moving.html
If you have any further questions on this matter please do not hesitate to let me know.
Sincerely,
Horen
Software Developer
Infragistics