SP.Web.treeViewEnabled Property
Applies to: SharePoint Foundation 2010
Gets or sets value that specifies whether the tree view is enabled on the site.
var value = SP.Web.get_treeViewEnabled();
SP.Web.set_treeViewEnabled(value);
Property Value
Type: Boolean