The treevirtual
widget allows you to create a virtual tree that looks like a tree and provides the table features to store the data in columns, dynamically filling the tree with contents.
All the virtual tree-related classes are under the package qx.ui.treevirtual
. The following screenshot displays the class hierarchy of the classes under the treevirtual
widget:
The TreeVirtual
class also provides most of the implementations for the events such as treeClose, treeOpenWhileEmpty, treeOpenWithContent
, and so on, and most of the methods to access data in terms of the tree are added into the class by adding mixins such as qx.ui.treevirtual.MNode
and qx.ui.treevirtual.MFamily
.
This widget is very useful when the user is displaying hierarchical data to show in columns, for example, to show the filesystem tree. If the user is interested in showing the file permissions and last updated time for the files, then each row needs two more columns. To have a clear...