Skip to main content

Separator

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

DHX Ribbon with separators

Adding Separator

A separator can be added between menu options:

ribbon.data.add({
type:"separator"
});

Related sample: Ribbon. Separator

Properties

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

ribbon.showItem(id);
ribbon.hideItem(id);