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:{

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:;

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