Package com.aspose.cells

Examples of com.aspose.cells.PivotTableCollection


    cell = cells.get("C7");
    cell.setValue(5000);
    cell = cells.get("C8");
    cell.setValue(6430);

    PivotTableCollection pivotTables = sheet.getPivotTables();

    //Adding a PivotTable to the worksheet
    int index = pivotTables.add("=A1:C8","E3","PivotTable1");

    //Accessing the instance of the newly added PivotTable
    PivotTable pivotTable = pivotTables.get(index);

    //Unshowing grand totals for rows.
    pivotTable.setRowGrand(false);

    //Dragging the first field to the row area.
View Full Code Here

TOP

Related Classes of com.aspose.cells.PivotTableCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.