TabSheet.ExpanderAction

Syntax

ExpanderAction: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The ExpanderAction event occurs on interacting with table expander.

Comments

The event occurs on expanding and collapsing expander.

Example

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:

TabSheet