true
is the tree is animated, or false
otherwise.
A map with all behaviors that were defined for this widget. The key is the name of the behavior, the value is the callback function that is invoked when the behavior is called.
true
if the content of dynamically loaded nodes is cached for the next time the node is
expanded, or false
to always fetch the content from the server.
true
is this widget is disabled, or false
otherwise.
Defines parent-child relationship when a node is dragged.
Optional scope for the dragging and dropping, passed to JQuery UI.
true
if nodes are draggable, or false
otherwise.
When enabled, the copy of the selected nodes can be dropped from a tree to another tree using Shift key.
true
if nodes are droppable, or false
otherwise.
true
if the content of nodes is loaded dynamically as needed, or false
otherwise.
Event for the context menu.
true
if filtering is enabeld, false
otherwise.
Mode for filtering.
ID of the form to use for AJAX requests.
true
if selected nodes are highlighted, or false
otherwise.
A map between the type of a node and the icons for that node.
The client-side ID of the widget, with all parent naming containers, such as
myForm:myWidget
. This is also the ID of the container HTML element for this widget. In case the widget needs
multiple container elements (such as Paginator), this may also be an array if IDs.
When enabled, the selected multiple nodes can be dragged from a tree to another tree.
Node type of nodes for which the context menu is available.
Callback that is invoked when a node is
clicked. If it returns false
, the click on the node is ignored.
An optional callback that is invoked
after this widget was created successfully, at the end of the init method. This is
usually specified via the widgetPostConstruct
attribute on the JSF component. Note that this is also called
during a refresh
(AJAX update).
An optional callback that is invoked after
this widget was refreshed after an AJAX update, at the end of the refresh method.
This is usually specified via the widgetPostRefresh
attribute on the JSF component.
An optional callback that is invoked before
this widget is about to be destroyed, e.g., when the component was removed at the end of an AJAX update. This is
called at the beginning of the destroy method. This is usually specified via the
widgetPreDestroy
attribute on the JSF component.
Whether toggling a node checkbox is propagated downwards.
Whether toggling a node checkbox is propagated upwards.
How the node of this tree can be selected, if selection is enabled at all.
The name of the widget variables of this widget. The widget variable can be used to
access a widget instance by calling PF("myWidgetVar")
.
Generated using TypeDoc
The configuration for the BaseTree widget. You can access this configuration via BaseWidget.cfg. Please note that this configuration is usually meant to be read-only and should not be modified.