TreeTableView is a new control added in B4J v5.80.
TreeTableView is very similar to TreeView where each item has multiple values instead of a single value.
The columns are set with the designer or by calling TreeTableView.SetColumns.
Note that unlike TreeView which only works with string items, TreeTableView items can be strings, numbers or nodes.
The second example shows how to use a layout file to create custom items:
Note that the rows heights are explicitly set in this case.
The second example also shows how to iterate over all the items.
TreeTableView is very similar to TreeView where each item has multiple values instead of a single value.
B4X:
Dim tti As TreeTableItem
tti.Initialize("tt", Array("Column 0 value", "Column 1 value", "Column 2 value"))
TreeTableView1.Root.Children.Add(tti)
The columns are set with the designer or by calling TreeTableView.SetColumns.
Note that unlike TreeView which only works with string items, TreeTableView items can be strings, numbers or nodes.
The second example shows how to use a layout file to create custom items:
Note that the rows heights are explicitly set in this case.
The second example also shows how to iterate over all the items.