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

Attributes

Separator can have two attributes:

Showing/hiding Separator

You can hide and show Separator with the methods of Ribbon:

ribbon.showItem(id);
ribbon.hideItem(id);
Back to top