PivotItemCollection
Contents
[
Hide
]PivotItemCollection class
Represents a collection of all the PivotItem objects in the PivotField’s
class PivotItemCollection;
Methods
Method | Description |
---|---|
get(number) | Gets the PivotItem Object at the specific index. |
getCount() | Gets the count of the pivot items. |
getEnumerator() | Gets an enumerator over the elements in this collection in proper sequence. |
changeitemsOrder(number, number) | Directly changes the orders of the two items. |
get(number)
Gets the PivotItem Object at the specific index.
get(index: number) : PivotItem;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number |
Returns
getCount()
Gets the count of the pivot items.
getCount() : number;
getEnumerator()
Gets an enumerator over the elements in this collection in proper sequence.
getEnumerator() : PivotItemEnumerator;
Returns
enumerator
changeitemsOrder(number, number)
Directly changes the orders of the two items.
changeitemsOrder(sourceIndex: number, destIndex: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
sourceIndex | number | The current index |
destIndex | number | The dest index |