Skip to main content


This is a line separating items/groups of items from each other.

Adding Separator#

A new Separator can be created with the help of the add() method of Tree Collection:{    type:"separator"});

Related sample: Sidebar. Separator


You can provide the following properties in the configuration object of a Separator control.

Showing/hiding separator#

You can hide and show Separator with the methods of Sidebar by passing the control's id to them:;sidebar.hide(id);

Check the full list of available operations in the Sidebar API and Tree Collection API.