TreeViewOptions

interface TreeViewOptions<T : JsAny?>(source)

Options for creating a TreeView

Online Documentation

Properties

Link copied to clipboard
abstract var canSelectMany: Boolean?

Whether the tree supports multi-select. When the tree supports multi-select and a command is executed from the tree, the first argument to the command is the tree item that the command was executed on and the second argument is an array containing all selected tree items.

Link copied to clipboard

An optional interface to implement drag and drop in the tree view.

Link copied to clipboard

By default, when the children of a tree item have already been fetched, child checkboxes are automatically managed based on the checked state of the parent tree item. If the tree item is collapsed by default (meaning that the children haven't yet been fetched) then child checkboxes will not be updated. To override this behavior and manage child and parent checkbox state in the extension, set this to true.

Link copied to clipboard
abstract var showCollapseAll: Boolean?

Whether to show collapse all action or not.

Link copied to clipboard

A data provider that provides tree data.