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
470
Fixed columns that cannot be moved
posted

Hi,

I need to create a XamDataGrid with configurable columns.  But the first column on the left should always be displayed on the left and never be moved from there. 

- I need to disable the possibility to drag and drop this column.

- I need to prevent some other columns to be draged and droped on the left of this column.

does any body has suggestions?

 

Thanks

Parents
No Data
Reply
  • 8607
    Suggested Answer
    Offline posted

    Hello croesusdev,

    It sounds like this can be done with column fixing.  If you set the first column to be fixed, then it cannot be dragged, and other columns cannot be dragged to the left of it.  It will also always be displayed.

    Here is some documentation on fixing columns:

    About Fixed Fields

    Enable Fixed Fields

    Fix Fields

    You'd want to fix it to the "Near" edge, meaning the left side.

    Let me know if you have any other questions about this.


    Elizabeth Albert
    Localization Engineer

     

Children