showRoot([show])

Class: Tree.

Description:

Sets or gets visibility of a root node of the tree.

Parameters:

Name Type Description

[show]

boolean

true to show, false to hide.

Returns:

If no arguments are passed, current value is returned; otherwise this Tree component is returned for method chaining.

Type: boolean | Tree