Expanded: function (sender, args)
sender. Event source.
args. Event information.
The Expanded event occurs when ribbon expands.
The ribbon collapses on clicking the button at the top right corner.
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: