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