Is there a way to dynamically enable/disable columns at runtime?
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.
This helps, thank you
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.