Support & Community

Binding to a column

Previous Table of Contents Next

In the treeview with columns, every node control should be bound to a column, where it is to be display. To do that, set the ColumnId node control property to a target column Id property value or set the Column property to a column instance.

Example:

NodetextBox tb = new NodeTextBox()
// bind node control using the Id column property.
tb.ColumnId = tree.Columns[0].Id;
 
// bind node control using the column instance.
TreeColumn col = tree.Columns[0];
tb.AttachToColumn(col);

 


  • If the treeview doesn`t contain columns, you don’t need to bind a node control to a column;
  • If you don`t bind a node control to a column, it won`t be visible in the treeview.

 

Additional API reference

Properties

  • Visible – defines whether to show a node control in the treeview.

Previous Top Next

Last news
Flexible TreeView v2.7
Sunday, 01 August 2010

Flexible TreeView v2.7 has been released with completely reimplemented data binding support.

Flexible TreeView v2.6
Thursday, 13 May 2010
Flexible TreeView v2.6 has been released with Visual Studio 2010 support, new NodeDateTime node control, data access great speed increase and much more.
Flexible TreeView v2.5
Saturday, 13 March 2010

Flexible TreeView v2.5 has been released with the new NodeProgressBar node control.

Latest release

Version:
Release date:
2.7.1
Aug 11, 2010


Copyright © 2006-2010 ARMSoft. All rights reserved.