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
230
Hidden Columns - Dynamic
posted

I'm dynamically binding a WebDataGrid in C#. The grid can contain any value of columns based upon user selection. I have a specific column being returned which I need to hide from the user.

When creating a grid with known columns...I define the column and hide it in the designer - which works great.

In this scenerio I'll be binding to a data source in code and once binded I want to find the specific column I'm looking for and hide it.

How do I access a column after I bind dynamically and set the Hidden property to true?

Thank You!