ExpanderAction: function (sender, args);
sender. Event source.
args. Event information.
The ExpanderAction event occurs on interacting with table expander.
The event occurs on expanding and collapsing expander.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) containing a table with expanders. Process the event of interaction with expander:
tabSheet.ExpanderAction.add(function (sender, args) { // Get expandedr state console.debug(args.IsCollapse ? "Expander is collapsed" : "Expander is expanded"); });
After executing the example on expanding or collapsing the expander the browser console displays messages about expander state:
Expander is collapsed
Expander is expanded
See also: