RibbonView.Collapsed

Syntax

Collapsed: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The Collapsed event occurs when minimizing the tool ribbon.

Comments

The ribbon collapses on clicking the button at the right top corner.

Example

To execute this example the HTML page must contain the ReportBox component named reportBox. Add an event handler that handles collapsing the tool ribbon:

       reportBox.getRibbonView().Collapsed.add(function (sender, args) {
           alert ("Ribbon is collapsed")
       })

After executing the example, collapsing the ribbon brings up the following message: Ribbon is collapsed.

See also:

RibbonView