refresh method
Contents
[
Hide
]refresh(self)
Refreshes data from the data source and calculates data for the view of all pivottables which data source is this pivot cache.
def refresh(self):
...
Remarks
If both table1 and table2 use this cache, the two table will calculated.
It’s better that you can simply call Workbook.refresh_all to refresh all pivot tables and charts in the file.
refresh(self, option)
Refreshes data from the data source and calculates data for the view of all pivottables which data source is this pivot cache.
def refresh(self, option):
...
| Parameter | Type | Description |
|---|---|---|
| option | aspose.cells.pivot.PivotTableRefreshOption | The options for refreshing data source of pivot table. |
Remarks
It’s better that you can simply call Workbook.refresh_all to refresh all pivot tables and charts in the file.
See Also
- module
aspose.cells.pivot - class
PivotCache - class
PivotRefreshState