RibbonView.Expanded

Syntax

Expanded: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The Expanded event occurs when ribbon expands.

Comments

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

Example

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

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

After executing the example, expanding the ribbon brings up the following message: Ribbon is expanded.

See also:

RibbonView