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
1890
Dynamically Enable/Disable Columns
posted

Is there a way to dynamically enable/disable columns at runtime?

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I can suggest you see the sample in the Samples Browser under xamDataGrid / Display / Field Chooser Settings section where it shown how to enable the functionality for hide/show Fields. Also if you want just to enable/disable the editing of a Field you can use this code:

     

    xamDataGrid1.FieldLayouts[0].Fields[0].Settings.AllowEdit = false;

     

    Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

Reply Children
No Data