Hello!
I am trying to sset the visible property of a template column within a datagrid at runtime. So, for example, i want some users to be able to view the Edit column and others not to see it. How can this be done programmatically? I know the template column has a Visible property that can be set from within the HTML but cant figure out how to do it from within the code as there is no way to assign an ID to a TemplateColumn.
Please help me
I am trying to sset the visible property of a template column within a datagrid at runtime. So, for example, i want some users to be able to view the Edit column and others not to see it. How can this be done programmatically? I know the template column has a Visible property that can be set from within the HTML but cant figure out how to do it from within the code as there is no way to assign an ID to a TemplateColumn.
Please help me