EaxGridView.getSelectionType

Syntax

getSelectionType();

Description

The getSelectionType method returns type of selected object.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Get the type of selected object shown on the figure below:

To do this, execute the following script:

var gridView = expressBox.getDataView().getGridView();
// Output type of selected object
console.log(gridView.getSelectionType());

After executing the event, type of selected element is output to the browser console:

"Row"

See also:

EaxGridView