Yeah, that syntax is correct. So either you are setting Visible on the wrong Column or ColumnSet. Or else something else in your code is changing it back to true at some other point.
Hi,
That is the right syntax.
If you have several nodes, may be the column "DatabaseID" is not in the first ColumnSets(0) ?
We are also looking for the code the hide the columns in the treeview. We tried this code
ulTreeviewItems.ColumnSettings.ColumnSets(0).Columns(
"DatabaseID").Visible = False
but it is not working for us, can you please your code. We want to hide few columns in the Treeview
1) Yes; set the LabelPosition property of the associated UltraTreeColumnSet to 'None'. Labels and headers are the same thing in layout manager terminology.