Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
xamgrid column drag drop
posted

I want to use grouping functionality of XamDataGrid which works fine but while doing drag-drop for a particular column to header if user drops it on the another columns it shows as below

 Before Drag-Drop

 After Drag-Drop

 

I want to restrict user to drop this column on another column. Anyone knows how to restrict this?

 

Parents
No Data
Reply
  • 54937
    Suggested Answer
    Offline posted

    You can set the FieldSettings->AllowFieldMoving to either WithinLogicalRow so that all the items stay in the row in which they were defined which in your case would mean a flat layout or you can set it to No to prevent reordering of fields but should still allow dragging fields into the group by area.

Children