0

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 designer as far as columns go.

Alex
  • 2,081
  • 14
  • 49
  • 76
  • Does UltraTree have a "FindNode" (or similar) method that you can use OnDataBind? I do this sort of thing with Telerik RadControls. – Chase Florell Jan 24 '10 at 21:56

1 Answers1

1

Try

UltraTree1.ColumnSettings.ColumnSets(X).Columns(Y).Visible = False

Where X is the columnset name / index and Y is the column name / index

Carl Rippon
  • 4,553
  • 8
  • 49
  • 64
  • where would the columnset X come from? It must create it automatically since it is bound. how would I know what is X ? – Alex Jan 25 '10 at 13:37
  • If you do a debug session and do a watch on this after the UltraTree has bound to its data and see what the ColumnSets are – Carl Rippon Jan 25 '10 at 17:07