EaxGridView.getTabSheetViewState

Syntax

getTabSheetViewState();

Description

The getTabSheetViewState method returns properties of table view in JSON format.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Output table width and height:

// Get properties of table view.
var tabSheetViewState = expressBox.getDataView().getGridView().getTabSheetViewState();
// Get table size
var size = tabSheetViewState.size;
// Output table width and height
console.log("Width: " + size.width);
console.log("Height:  " + size.height);

After executing the example width and height of the table are output to the console:

Width: 866
Height: 222

See also:

EaxGridView