jule64
jule64

Reputation: 487

vaadin TreeTable put tree column in second column

How can I move the tree column in first column of a TreeTable to the second column of the table? When I try moving column 1 to coumn 2 only the contents - not the tree structure - are moved. Any idea anyone?

Upvotes: 2

Views: 455

Answers (1)

erwin
erwin

Reputation: 205

This put triangles in the second column:

treeTable.setHierarchyColumn( NAME_PROPERTY );

The NAME_PROPERTY is the second column's property ID.

Upvotes: 3

Related Questions