接口的使用
com.grapecity.documents.excel.IPivotField
-
com.grapecity.documents.excel中IPivotField的使用
修饰符和类型方法说明Creates a new calculated field.IPivotTable.addDataField
(IPivotField field, String caption, ConsolidationFunction function) Adds a data field to a PivotTable report.ICalculatedFields.get
(int index) Get calculated field by index.Get calculated field by name.IPivotFields.get
(int index) Returns a single object from a collection.Returns a single object from a collection.IPivotCell.getDataField()
Returns a PivotField object that corresponds to the selected data field.IPivotCell.getPivotField()
Returns a PivotField object that represents the PivotTable field containing the upper-left corner of the specified range.修饰符和类型方法说明IPivotTable.addDataField
(IPivotField field, String caption, ConsolidationFunction function) Adds a data field to a PivotTable report.