ضبط خيار جدول الدوري إظهار الخلايا الفارغة
Contents
[
Hide
]
يمكنك ضبط خيارات جدول Pivot المختلفة باستخدام Aspose.Cells for Node.js via C++. أحد هذه الخيارات هو “لعرض الخلايا الفارغة”. عند ضبط هذا الخيار، يتم عرض جميع الخلايا الفارغة في جدول Pivot كسلسلة نصية محددة.
ضبط خيار جدول الجدول المحوري في Microsoft Excel
للعثور على هذا الخيار وضبطه في Microsoft Excel:
- حدد جدول الجدول المحوري وانقر بزر الماوس الأيمن.
- حدد خيارات الجدول الدوري.
- حدد علامة التبويب التخطيط والشكل.
- حدد خيار إظهار الخلايا الفارغة وحدد سلسلة.
ضبط خيار جدول Pivot باستخدام Aspose.Cells for Node.js via C++
يوفر Aspose.Cells for Node.js via C++ خصائص PivotTable.setDisplayNullString و PivotTable.setNullString لضبط خيار “لعرض الخلايا الفارغة” في جدول Pivot.
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
const AsposeCells = require("aspose.cells.node"); | |
//For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET | |
//The path to the documents directory. | |
var dataDir = RunExamples.GetDataDir("."); | |
var wb = new AsposeCells.Workbook(dataDir + "input.xlsx"); | |
var pt = wb.getWorksheets().get(0).getPivotTables().get(0); | |
//Indicating if or not display the empty cell value | |
pt.setDisplayNullString(true); | |
//Indicating the null string | |
pt.setNullString("null"); | |
pt.calculateData(); | |
pt.setRefreshDataOnOpeningFile(false); | |
wb.save(dataDir + "output_out.xlsx"); |