EaxAnalyzer.TabSheetChangedState

Syntax

TabSheetChangedState: Object

Description

The TabSheetChangedState property contains changed settings of an express report sheet.

Comments

Use JSON or the setTabSheetChangedState method to set the property value, and the getTabSheetChangedState method to get the property value.

The property stores value as an array of JSON objects with the following fields: leftColumn - index of the left visible column, topRow - index of the topmost visible row in express report table, size - size of visible table area.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Scroll table content down and to the right using vertical and horizontal scrollbars. Then get indices of the topmost row and leftmost column, as well as sizes of visible part of express report table:

var eaxAnalyzer = expressBox.getSource();
// Get settings of the express report sheet
var state = eaxAnalyzer.getTabSheetChangedState();
console.log("Left column: " + state.leftColumn);
console.log("Top row: " + state.topRow);
// Get size of visible area of the express report table
var size = state.size;
console.log("Width:" + size.width + ", " + "height: " + size.height);

After executing the example the browser console displays indexes of the topmost visible row and leftmost visible column in the express report table, as well as size of visible table area:

Left column: 8
Top row: 26
Width:866, height: 390

See also:

EaxAnalyzer