TabSheetSettings.FilterRange

Syntax

FilterRange: PP.Ui.TabSheetFilterRange;

Description

The FilterRange property contains a current autofilter range.

Comments

Property value is returned by the getFilterRange method.

Example

To execute the example, the HTML page must contain the GridBox component named grid (see Example of Creating the GridBox Component). Autofilter should be set up in the report. Get data about autofilter size:

// Get table sheet
tabSheet = grid.getTabSheet();
// Get filter range
range = tabSheet.getFilterRange();
// Get JSON range view
filterR = range.toJSON();
// Display result to the console
console.log(filterR.Range);
// -> Object {left: 1, top: 3, width: 4, height: 6}

After executing the example the current autofilter range is obtained.

See also:

TabSheetSettings