GridDesktopでピボットテーブルをレンダリングする
Contents
[
Hide
]
可能な使用シナリオ
Excelファイルにピボットテーブルがある場合、GridDesktopはピボットテーブルを正しく読み込んでレンダリングできます。また、GUIでピボットテーブルにアクセスして操作することができます。
GridDesktopでピボットテーブルをレンダリングする
次のサンプルコードは、ピボットテーブルを含むSample Excel File containing the Pivot Tableをインポートします。スクリーンショットは、このサンプルコードの実行結果を参照したものです。
サンプルコード
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); |