Property Getters/Setters Summary | ||
---|---|---|
function | getAutoShowCount() | |
function | setAutoShowCount(value) | |
Represent the number of top or bottom items that are automatically shown in the specified PivotTable field. | ||
function | getAutoShowField() | |
function | setAutoShowField(value) | |
Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields. | ||
function | getAutoSortField() | |
function | setAutoSortField(value) | |
Represents auto sort field index. -1 means PivotField itself,others means the position of the data fields. | ||
function | getBaseFieldIndex() | |
function | setBaseFieldIndex(value) | |
Represents the base field for a custom calculation. | ||
function | getBaseIndex() | |
function | setBaseIndex(value) | |
Represents the PivotField index in the base PivotFields. | ||
function | getBaseItemIndex() | |
function | setBaseItemIndex(value) | |
Represents the item in the base field for a custom calculation. Valid only for data fields. | ||
function | getBaseItemPosition() | |
function | setBaseItemPosition(value) | |
Represents the item in the base field for a custom calculation. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute. The value of the property is PivotItemPosition integer constant. | ||
function | getCurrentPageItem() | |
function | setCurrentPageItem(value) | |
Represents the current page item showing for the page field (valid only for page fields). | ||
function | getDataDisplayFormat() | |
function | setDataDisplayFormat(value) | |
Represents how to display the values contained in a data field. The value of the property is PivotFieldDataDisplayFormat integer constant. | ||
function | getDisplayName() | |
function | setDisplayName(value) | |
Represents the PivotField display name. | ||
function | getDragToColumn() | |
function | setDragToColumn(value) | |
Indicates whether the specified field can be dragged to the column position. The default value is true. | ||
function | getDragToData() | |
function | setDragToData(value) | |
Indicates whether the specified field can be dragged to the data position. The default value is true. | ||
function | getDragToHide() | |
function | setDragToHide(value) | |
Indicates whether the specified field can be dragged to the hide position. The default value is true. | ||
function | getDragToPage() | |
function | setDragToPage(value) | |
Indicates whether the specified field can be dragged to the page position. The default value is true. | ||
function | getDragToRow() | |
function | setDragToRow(value) | |
Indicates whether the specified field can be dragged to the row position. The default value is true. | ||
function | getFunction() | |
function | setFunction(value) | |
Represents the function used to summarize the PivotTable data field. The value of the property is ConsolidationFunction integer constant. | ||
function | getInsertBlankRow() | |
function | setInsertBlankRow(value) | |
Indicates whether inserting blank line after each item. | ||
function | isAscendShow() | |
function | setAscendShow(value) | |
Indicates whether the specified PivotTable field is autoshown ascending. | ||
function | isAscendSort() | |
function | setAscendSort(value) | |
Indicates whether the specified PivotTable field is autosorted ascending. | ||
function | isAutoShow() | |
function | setAutoShow(value) | |
Indicates whether the specified PivotTable field is automatically shown,only valid for excel 2003. | ||
function | isAutoSort() | |
function | setAutoSort(value) | |
Indicates whether the specified PivotTable field is automatically sorted. | ||
function | isAutoSubtotals() | |
function | setAutoSubtotals(value) | |
Indicates whether the specified field shows automatic subtotals. Default is true. | ||
function | isCalculatedField() | |
Indicates whether the specified PivotTable field is calculated field.
|
||
function | isIncludeNewItemsInFilter() | |
function | setIncludeNewItemsInFilter(value) | |
indicates whether the field can include new items in manual filter The default value is false. | ||
function | isInsertPageBreaksBetweenItems() | |
function | ||
indicates whether the field can insert page breaks between items insert page break after each item The default value is false. | ||
function | isMultipleItemSelectionAllowed() | |
function | ||
indicates whether the field can have multiple items selected in the page field The default value is false. | ||
function | isRepeatItemLabels() | |
function | setRepeatItemLabels(value) | |
indicates whether the field can repeat items labels The default value is false. | ||
function | getItemCount() | |
Gets the base item count of this pivot field.
|
||
function | getItems() | |
Get all base items;
|
||
function | getName() | |
Represents the PivotField name.
|
||
function | getNumber() | |
function | setNumber(value) | |
Represents the built-in display format of numbers and dates. | ||
function | getNumberFormat() | |
function | setNumberFormat(value) | |
Represents the custom display format of numbers and dates. | ||
function | getOriginalItems() | |
Get the original base items;
|
||
function | getPivotItems() | |
Gets the pivot items of the pivot field
|
||
function | getPosition() | |
Represents the PivotField index in the PivotFields.
|
||
function | getRange() | |
Gets the group range of the pivot field
|
||
function | getShowAllItems() | |
function | setShowAllItems(value) | |
Indicates whether all items in the PivotTable report are displayed, even if they don't contain summary data. show items with no data The default value is false. | ||
function | getShowCompact() | |
function | setShowCompact(value) | |
Indicates whether display labels from the next field in the same column on the Pivot Table view | ||
function | getShowInOutlineForm() | |
function | setShowInOutlineForm(value) | |
Indicates whether layout this field in outline form on the Pivot Table view | ||
function | getShowSubtotalAtTop() | |
function | setShowSubtotalAtTop(value) | |
when ShowInOutlineForm is true, then display subtotals at the top of the list of items instead of at the bottom |
Method Summary | ||
---|---|---|
function | addCalculatedItem(name, formula) | |
Add a calculated item to the pivot field.
|
||
function | getCalculatedFieldFormula() | |
Get the formula string of the specified calculated field .
|
||
function | getPivotFilterByType(type) | |
Gets the pivot filter of the pivot field by type
|
||
function | getPivotFilters() | |
Gets the pivot filters of the pivot field
|
||
function | getSubtotals(subtotalType) | |
Gets whether the specified field shows that subtotals.
|
||
function | hideDetail(isHiddenDetail) | |
Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field.
|
||
function | hideItem(index, isHidden) | |
Sets whether the specific PivotItem in a data field is hidden.
|
||
function | hideItem(itemValue, isHidden) | |
Sets whether the specific PivotItem in a data field is hidden.
|
||
function | hideItemDetail(index, isHiddenDetail) | |
Sets whether the specific PivotItem in a pivot field is hidden detail.
|
||
function | initPivotItems() | |
Init the pivot items of the pivot field
|
||
function | isHiddenItem(index) | |
Indicates whether the specific PivotItem is hidden.
|
||
function | isHiddenItemDetail(index) | |
Indicates whether the specific PivotItem is hidden detail.
|
||
function | setSubtotals(subtotalType, shown) | |
Sets whether the specified field shows that subtotals.
|
function getPivotItems()
function getRange()
function isCalculatedField()
function getBaseIndex() / function setBaseIndex(value)
function getPosition()
function getName()
function getDisplayName() / function setDisplayName(value)
function isAutoSubtotals() / function setAutoSubtotals(value)
function getDragToColumn() / function setDragToColumn(value)
function getDragToHide() / function setDragToHide(value)
function getDragToRow() / function setDragToRow(value)
function getDragToPage() / function setDragToPage(value)
function getDragToData() / function setDragToData(value)
function isMultipleItemSelectionAllowed() / function setMultipleItemSelectionAllowed(value)
function isRepeatItemLabels() / function setRepeatItemLabels(value)
function isIncludeNewItemsInFilter() / function setIncludeNewItemsInFilter(value)
function isInsertPageBreaksBetweenItems() / function setInsertPageBreaksBetweenItems(value)
function getShowAllItems() / function setShowAllItems(value)
function isAutoSort() / function setAutoSort(value)
function isAscendSort() / function setAscendSort(value)
function getAutoSortField() / function setAutoSortField(value)
function isAutoShow() / function setAutoShow(value)
function isAscendShow() / function setAscendShow(value)
function getAutoShowCount() / function setAutoShowCount(value)
function getAutoShowField() / function setAutoShowField(value)
function getFunction() / function setFunction(value)
function getDataDisplayFormat() / function setDataDisplayFormat(value)
function getBaseFieldIndex() / function setBaseFieldIndex(value)
function getBaseItemPosition() / function setBaseItemPosition(value)
function getBaseItemIndex() / function setBaseItemIndex(value)
function getCurrentPageItem() / function setCurrentPageItem(value)
function getNumber() / function setNumber(value)
function getInsertBlankRow() / function setInsertBlankRow(value)
function getShowSubtotalAtTop() / function setShowSubtotalAtTop(value)
function getShowInOutlineForm() / function setShowInOutlineForm(value)
function getNumberFormat() / function setNumberFormat(value)
function getItems()
function getOriginalItems()
function getItemCount()
function getShowCompact() / function setShowCompact(value)
function getPivotFilterByType(type)
type
- A PivotFilterType value.function getPivotFilters()
function initPivotItems()
function getCalculatedFieldFormula()
function setSubtotals(subtotalType, shown)
subtotalType: Number
- A shown: boolean
- whether the specified field shows that subtotals.function getSubtotals(subtotalType)
subtotalType: Number
- A function isHiddenItem(index)
index: Number
- the index of the pivotItem in the pivotField.function hideItem(index, isHidden)
index: Number
- the index of the pivotItem in the pivotField.isHidden: boolean
- whether the specific PivotItem is hiddenfunction isHiddenItemDetail(index)
index: Number
- the index of the pivotItem in the pivotField.function hideItemDetail(index, isHiddenDetail)
index: Number
- the index of the pivotItem in the pivotField.isHiddenDetail: boolean
- whether the specific PivotItem is hiddenfunction hideDetail(isHiddenDetail)
isHiddenDetail: boolean
- whether the PivotItems is hiddenfunction hideItem(itemValue, isHidden)
itemValue: String
- the value of the pivotItem in the pivotField.isHidden: boolean
- whether the specific PivotItem is hiddenfunction addCalculatedItem(name, formula)
name: String
- The item's name.formula: String
- The item's formula