TreeListView.ScrollBarH

Syntax

ScrollBarH : PP.Ui.ScrollBar;

Description

The ScrollBarH property determines horizontal scrollbar.

Comments

Use JSON to set the property value and the getShowCaptions method to get the property value.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Reduce tree size to display scrollbar
Tree.setHeight(150);
Tree.setNodeExpanded(0, true);
// Get scrollbar
console.log(Tree.getScrollBarH());

After executing the example the console displays scrollbar object.

See also:

TreeListView