API Reference


UI-related TreeTable inherits from view. Being a hybrid between DataTable and Tree, it shares a number of their properties and methods.


Note that you need to set {common.treetable()} template for a column that should display the tree. Otherwise, you'll get standard DataTable.

            header:"Film title", 
            template:"{common.treetable()} #value#"
    data: "..." //dataset, variable or path

Related sample:  Basic Initialization

Tree table is populated with hierarchical data coming in XML and JSON data formats. IDs of the columns must coincide with data keys from the initial dataset

Working with TreeTable

Common tasks here include the following and coincide with those of the datatable and tree:

1 . Data Loading including Dynamic Loading of large datasets in portions by scrolling and branches opening.

Related sample:  Static and Dynamic Loading

2 . Filtering - built-in and custom filtering in various filter modes.

Related sample:  TreeTable: Filtering

3 . Selection by cells, row and columns in multiselect and blockselect modes.

Related sample:  Selecting Items in TreeTable

4 . Item Editing by click or dblclick or any custom action.

Related sample:  Editing Data in TreeTable

5 . Using Math in TreeTable - built-in logic for storing data as mathematical formulas as well as editing these formulas directly in TreeTable.

Related sample:  Using Formulas

6 . Data Grouping - built-in logic for presenting hierarchical data in a tree-like manner.

Related sample:  Data Grouping: Aggregate Values

7 . Data Export to Excel, PDF and PNG

Related sample:  Export to Excel

8 . Copy-Paste Operations

Related sample:  Different Copy-Paste Modes

Related Articles

Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of javascript tree grid product.