I'm using UltraTree with vb.net and I'm finding it is super easy to bind it to parent/child dataset and it populates the treeview nicely. However I need to hide certain columns, and I can't figure out how to do this in code. I can't use the designer since I'm using code to bind my dataset and that seems to override whatever I set in the desi开发者_JS百科gner as far as columns go.
Try
UltraTree1.ColumnSettings.ColumnSets(X).Columns(Y).Visible = False
Where X is the columnset name / index and Y is the column name / index
精彩评论