[]
Ƭ ICalcFieldInfo: Object
property fieldName 计算字段的字段名
property formula 计算字段的公式
| Name | Type |
|---|---|
fieldName |
string |
formula |
string |
Ƭ ICalcItemInfo: Object
property sourceName 数据透视表源字段名称
property calcItemName 数据透视表源字段计算项名称
property formula 数据透视表源字段计算项公式
property priority 数据透视表源字段计算项优先级
| Name | Type |
|---|---|
calcItemName |
string |
formula |
string |
priority |
number |
sourceName |
string |
Ƭ IDateGroupInfo: Object
property by 日期分组信息的日期单位
property [start] 分组的开始日期(可选)
property [end] 分组的结束日期(可选)
| Name | Type |
|---|---|
by |
DateGroupType |
end? |
Date |
start? |
Date |
Ƭ IDateGroupsInfo: Object
property originFieldName 源字段名称
property {GC.Spread.Pivot.IDateGroupInfo[]} dateGroups 日期分组信息数组
| Name | Type |
|---|---|
dateGroups |
IDateGroupInfo[] |
originFieldName |
string |
Ƭ IFieldInfo: Object
property fieldName 字段名称
property sourceName 源名称
property dataType 字段对应的源数据类型
property pivotArea 字段类型,影响字段在不同区域的表现
property pivotIndex 字段在区域中的索引
property {Date|number} [start] 数值型数据字段的最小值或日期型字段的最早日期(可选)
property {Date|number} [end] 数值型数据字段的最大值或日期型字段的最新日期(可选)
| Name | Type |
|---|---|
dataType |
PivotDataType |
end? |
Date | number |
fieldName |
string |
pivotArea |
PivotTableFieldType |
pivotIndex |
number |
sourceName |
string |
start? |
Date | number |
Ƭ INumberGroupInfo: Object
property originFieldName 源字段名称
property numberGroup 数值分组信息
property [numberGroup.start] 数值分组的起始值(可选)
property [numberGroup.end] 数值分组的结束值(可选)
property numberGroup.by 数值分组的步长
| Name | Type |
|---|---|
numberGroup |
{ by: number ; end?: number ; start?: number } |
numberGroup.by |
number |
numberGroup.end? |
number |
numberGroup.start? |
number |
originFieldName |
string |
Ƭ IPivotArea: Object
property [type]
property [fieldName]
property [labelOnly]
property [dataOnly]
property [grandRow]
property [grandCol]
property {GC.Spread.Pivot.IPivotReference[]} [references]
property [offset]
| Name | Type |
|---|---|
dataOnly? |
boolean |
fieldName? |
string |
grandCol? |
boolean |
grandRow? |
boolean |
labelOnly? |
boolean |
references? |
IPivotReference[] |
type? |
PivotAreaType |
Ƭ IPivotAreaOffset: Object
property row
property col
property [rowCount]
property [colCount]
| Name | Type |
|---|---|
col |
number |
colCount? |
number |
row |
number |
rowCount? |
number |
Ƭ IPivotAreasCollection: Object
property {Object.<string, GC.Spread.Pivot.IPivotArea[]>} - key 表示透视表名称,value 表示选中的透视表区域。
▪ [pivotTableName: string]: IPivotArea[]
Ƭ IPivotConditionFilterInfo: Object
property conditionByName
property {GC.Pivot.IPivotCaptionConditionFilterInfo | GC.Pivot.IPivotDateConditionFilterInfo | GC.Pivot.IPivotTop10ConditionFilterInfo | GC.Pivot.IPivotValueConditionInfo} condition
| Name | Type |
|---|---|
condition |
IPivotCaptionConditionFilterInfo | IPivotDateConditionFilterInfo | IPivotTop10ConditionFilterInfo | IPivotValueConditionInfo |
conditionByName |
string |
Ƭ IPivotNodeInfo: Object
property {GC.Spread.Pivot.IPivotItemInfo[]} fieldInfos 节点的标签字段信息。
property valueInfo 节点的值字段信息。
| Name | Type |
|---|---|
fieldInfos |
IPivotItemInfo[] |
valueInfo |
IValueInfo |
Ƭ IPivotOverwriteNodeInfo: Object
property {GC.Spread.Pivot.IPivotItemInfo[]} fieldInfos 节点的标签字段信息。
property valueInfo 节点的值字段信息。
property value 节点的值。
| Name | Type |
|---|---|
fieldInfos |
IPivotItemInfo[] |
value |
number |
valueInfo |
IValueInfo |
Ƭ IPivotReference: Object
property fieldName
property [subtotal]
property {string[]} [items]
| Name | Type |
|---|---|
fieldName |
string |
items? |
string[] |
subtotal? |
boolean |
Ƭ IPivotShowDataAsInfo: Object
property baseFieldName
property baseFieldItemType
property baseFieldItem
| Name | Type |
|---|---|
baseFieldItem? |
string |
baseFieldItemType? |
PivotShowDataAsBaseItemType |
baseFieldName? |
string |
showDataAs |
PivotShowDataAs |
Ƭ IPivotStyle: Object
property pivotArea 透视表中的透视表区域。
property style 用于透视表区域的样式。
| Name | Type |
|---|---|
pivotArea? |
IPivotArea |
style? |
Style |
Ƭ IPivotTableOption: Object
property [allowMultipleFiltersPerField]
property [fillDownLabels]
property [insertBlankLineAfterEachItem]
property grandTotalPosition
property subtotalsPosition
property displayFieldsInPageFilterArea
property reportFilterFieldsPerColumn
property [bandRows]
property [bandColumns]
property [showRowHeader]
property [showColumnHeader]
property [showDrill]
property [showMissing]
property {string | number} missingCaption
property rowLabelIndent
property [printDrill]
property [itemPrintTitles]
property [fieldPrintTitles]
property [showFilter]
property [showToolTip]
property [mergeItem]
property [isShowErrorValue]
property [errorValueInfo]
property [rowHeaderCaption]
property [colHeaderCaption]
property [showHeaders]
property [calcItemAggregation]
property [enableDataValueEditing]
| Name | Type |
|---|---|
allowMultipleFiltersPerField? |
boolean |
bandColumns? |
boolean |
bandRows? |
boolean |
calcItemAggregation? |
CalcItemAggregation |
colHeaderCaption? |
string |
displayFieldsInPageFilterArea? |
DisplayFields |
enableDataValueEditing? |
boolean |
errorValueInfo? |
string |
fieldPrintTitles? |
boolean |
fillDownLabels? |
boolean |
grandTotalPosition? |
GrandTotalPosition |
insertBlankLineAfterEachItem? |
boolean |
isShowErrorValue? |
boolean |
itemPrintTitles? |
boolean |
mergeItem? |
boolean |
missingCaption? |
string | number |
printDrill? |
boolean |
reportFilterFieldsPerColumn? |
number |
rowHeaderCaption? |
string |
rowLabelIndent? |
number |
showColumnHeader? |
boolean |
showDrill? |
boolean |
showFilter? |
boolean |
showHeaders? |
boolean |
showMissing? |
boolean |
showRowHeader? |
boolean |
showToolTip? |
boolean |
subtotalsPosition? |
SubtotalsPosition |
Ƭ IPivotTablePosition: Object
property row 表示透视表开始的行
property col 表示透视表开始的列
property [sheetName] 表示透视表所在的sheet
| Name | Type |
|---|---|
col |
number |
row |
number |
sheetName? |
string |
Ƭ IPivotTableRange: Object
property page 表示透视表的过滤区域范围
property content 表示透视表的内容区域范围
| Name | Type |
|---|---|
content |
Range |
page |
Range |
Ƭ IPivotTableView: Object
property name
property config
| Name | Type |
|---|---|
config |
ISerializeInfo |
name |
string |
Ƭ IPivotTextFilterInfo: Object
property textItem
| Name | Type |
|---|---|
textItem |
ITextCollectionCondition |
Ƭ ISerializeFieldInfo: Object
property conditionBySourceName
property displayName
property [subtotal]
property {GC.Spread.Pivot.IPivotTextFilterInfo | GC.Spread.Pivot.IPivotConditionFilterInfo} [labelFilter]
property [valueFilter]
property [sortInfo]
| Name | Type |
|---|---|
displayName |
string |
labelFilter? |
IPivotTextFilterInfo | IPivotConditionFilterInfo |
sortInfo? |
IPivotViewSortInfo |
sourceName |
string |
subtotal? |
SubtotalType |
valueFilter? |
IPivotConditionFilterInfo |
Ƭ ISerializeInfo: Object
property [layoutType]
property [options] 透视表的选项
property [theme] 透视表的主题
property [valuePosition] 透视表的值位置信息
property {number[]} [pivotTablePosition] 透视表的位置
property {GC.Spread.Pivot.ISerializeFieldInfo[][]} [fieldsInfo] 透视表的字段信息
property [styles] 透视表的区域样式
property [collapseItems] 透视表的折叠信息
property {GC.Spread.Pivot.ISerializeShowDataAsInfo[]} [showDataAsList] 透视表的显示数据信息
| Name | Type |
|---|---|
collapseItems? |
object |
fieldsInfo? |
ISerializeFieldInfo[][] |
layoutType? |
PivotTableLayoutType |
options? |
object |
pivotTablePosition? |
number[] |
showDataAsList? |
ISerializeShowDataAsInfo[] |
showNoDataInfo? |
object |
styles? |
IPivotStyle[] |
theme? |
string |
valuePosition? |
IDataPosition |
Ƭ ISerializeShowDataAsInfo: Object
property valueFieldName
property showDataAsInfo
| Name | Type |
|---|---|
showDataAsInfo |
IPivotShowDataAsInfo |
valueFieldName |
string |
Ƭ ISourceFieldInfo: Object
property name 源字段的名称
property [fieldType] 透视表字段类型是计算字段还是分组字段
| Name | Type |
|---|---|
fieldType? |
PivotSourceFieldType |
name |
string |
Ƭ ITextCollectionCondition: Object
property {string[]} list
property isAll
| Name | Type |
|---|---|
isAll |
boolean |
list |
string[] |
Ƭ ITextGroupInfo: Object
property originFieldName 源字段的名称。
property textGroup 文本组信息
property textGroup.fieldName 组字段的名称。
property textGroup.groupItems 文本组项信息。
| Name | Type |
|---|---|
originFieldName |
string |
textGroup |
{ fieldName: string ; groupItems: IStringGroupItems } |
textGroup.fieldName |
string |
textGroup.groupItems |
IStringGroupItems |