PivotTable in GridDesktop rendern
Contents
[
Hide
]
Mögliche Nutzungsszenarien
Wenn Ihre Excel-Datei eine Pivot-Tabelle enthält, kann GridDesktop die Pivot-Tabelle laden und rendern. Außerdem können Sie mit der Pivot-Tabelle in der GUI interagieren und sie manipulieren.
PivotTable in GridDesktop rendern
Der folgende Beispielcode importiert dieExcel-Beispieldatei mit der Pivot-Tabelle. Der Screenshot zeigt das Ergebnis der Ausführung dieses Beispielcodes für eine Referenz.
Beispielcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
//Path of the sample Excel file containing Pivot Table | |
string filePath = Utils.Get_SourceDirectory() + "sampleRenderPivotTableInGridDesktop.xlsx"; | |
//Import sample Excel file containing Pivot Table | |
this.gridDesktop1.ImportExcelFile(filePath); |