I want to attach the datasource of webHierarchicalDataGrid to an instance of an object and have the columns generated automatically, and want to hide one of the columns there after. Is that possible without having to manually bind each column using BoundDataField?
Thanks, Shilpi
Hello Shilpi,
Thank you for contacting Infragistics.
It is recommended to create the columns yourself as if you auto generate column they won’t be added to the columns collection. Which gives you easy access to the columns to make modifications to them. If you want to auto generate the columns you can achieve this by going through the row for example:
Whdg1.GridView.Rows[0].Items[0].Column.Hidden = true;
Please let me know if you have any further questions concerning this matter.
I am following up to see if the information provided has resolved this matter.
Please let me know if I may be of further assistance with this matter.