ExcelScript.PivotItem interface
Represents the Excel PivotItem.
Methods
get |
ID of the PivotItem. |
get |
Determines whether the item is expanded to show child items or if it's collapsed and child items are hidden. |
get |
Name of the PivotItem. |
get |
Specifies if the PivotItem is visible. |
set |
Determines whether the item is expanded to show child items or if it's collapsed and child items are hidden. |
set |
Name of the PivotItem. |
set |
Specifies if the PivotItem is visible. |
Method Details
getId()
ID of the PivotItem.
getId(): string;
Returns
string
getIsExpanded()
Determines whether the item is expanded to show child items or if it's collapsed and child items are hidden.
getIsExpanded(): boolean;
Returns
boolean
getName()
Name of the PivotItem.
getName(): string;
Returns
string
getVisible()
Specifies if the PivotItem is visible.
getVisible(): boolean;
Returns
boolean
setIsExpanded(isExpanded)
Determines whether the item is expanded to show child items or if it's collapsed and child items are hidden.
setIsExpanded(isExpanded: boolean): void;
Parameters
- isExpanded
-
boolean
Returns
void
setName(name)
Name of the PivotItem.
setName(name: string): void;
Parameters
- name
-
string
Returns
void
setVisible(visible)
Specifies if the PivotItem is visible.
setVisible(visible: boolean): void;
Parameters
- visible
-
boolean
Returns
void
Office Scripts