aspose.cells

Class PivotItemCollection

Represents a collection of all the PivotItem objects in the PivotField's

Property Getters/Setters Summary
functiongetCount()
Gets the count of the pivot items.
functionget(index)
Gets the PivotItem Object at the specific index.
functionget(itemValue)
Gets the PivotItem Object of the specific name.
 
Method Summary
functionchangeitemsOrder(sourceIndex, destIndex)
Directly changes the orders of the two items.
functioniterator()
Gets an enumerator over the elements in this collection in proper sequence.
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
        Gets the count of the pivot items.
      • get : PivotItem 

        function get(index)
        
        Gets the PivotItem Object at the specific index.
      • get : PivotItem 

        function get(itemValue)
        
        Gets the PivotItem Object of the specific name.
    • Method Detail

      • iterator

        function iterator()
        Gets an enumerator over the elements in this collection in proper sequence.
        Returns:
        enumerator
      • changeitemsOrder

        function changeitemsOrder(sourceIndex, destIndex)
        Directly changes the orders of the two items.
        Parameters:
        sourceIndex: Number - The current index
        destIndex: Number - The dest index