PivotFilterCollection

PivotFilterCollection class

Represents a collection of all the PivotFilter objects

class PivotFilterCollection;

Methods

MethodDescription
get(number)Gets the pivotfilter object at the specific index.
add(number, PivotFilterType)Adds a PivotFilter Object to the specific type
clearFilter(number)Clear PivotFilter from the specific PivotField
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the pivotfilter object at the specific index.

get(index: number) : PivotFilter;

Parameters:

ParameterTypeDescription
indexnumber

Returns

PivotFilter

add(number, PivotFilterType)

Adds a PivotFilter Object to the specific type

add(fieldIndex: number, type: PivotFilterType) : number;

Parameters:

ParameterTypeDescription
fieldIndexnumberthe PivotField index
typePivotFilterTypethe PivotFilter type

Returns

the index of the PivotFilter Object in this PivotFilterCollection.

clearFilter(number)

Clear PivotFilter from the specific PivotField

clearFilter(fieldIndex: number) : void;

Parameters:

ParameterTypeDescription
fieldIndexnumberthe PivotField index

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;