[]
Spread.Pivot.PivotTableTimelineSlicer
• new PivotTableTimelineSlicer()
Represents a pivot timeline slicer.
▸ allowMove(value?
): any
Gets or sets the allowMove of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the allowMove of the slicer; otherwise, returns the slicer.
▸ allowResize(value?
): any
Gets or sets the allowResize of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the allowResize of the slicer; otherwise, returns the slicer.
▸ captionName(value?
): any
Gets or sets the captionName of the slicer.
Name | Type |
---|---|
value? |
string |
any
If no value is set, returns the captionName of the slicer; otherwise, returns the slicer.
▸ connectPivotTable(ptName
): void
Connect pivot table with the slicer
Name | Type | Description |
---|---|---|
ptName |
string |
name of pivot table |
void
▸ disableResizingAndMoving(value?
): any
Gets or sets the disableResizingAndMoving of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the disableResizingAndMoving of the slicer; otherwise, returns the slicer.
▸ disconnectPivotTable(ptName
): void
Disconnect pivot table with the slicer
Name | Type | Description |
---|---|---|
ptName |
string |
name of pivot table |
void
▸ dynamicMove(value?
): any
Gets or sets the dynamicMove of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the dynamicMove of the slicer; otherwise, returns the slicer.
▸ dynamicSize(value?
): any
Gets or sets the dynamicSize of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the dynamicSize of the slicer; otherwise, returns the slicer.
▸ endColumn(value?
): any
Gets or sets the endColumn of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the endColumn of the slicer; otherwise, returns the slicer.
▸ endColumnOffset(value?
): any
Gets or sets the endColumnOffset of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the endColumnOffset of the slicer; otherwise, returns the slicer.
▸ endRow(value?
): any
Gets or sets the endRow of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the endRow of the slicer; otherwise, returns the slicer.
▸ endRowOffset(value?
): any
Gets or sets the endRowOffset of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the endRowOffset of the slicer; otherwise, returns the slicer.
▸ getAllConnectedPivotTables(): PivotTable
[]
get all connected PivotTables
PivotTables connected with the slicer.
▸ getAllPivotTables(): PivotTable
[]
get all PivotTables whether connected or not.
PivotTables whose source is same as the slicer.
▸ getConnectedPivotTableNameList(): string
[]
get all connected PivotTables' name.
string
[]
name list of PivotTables connected with the slicer.
▸ height(value?
): any
Gets or sets the height of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the height of the slicer; otherwise, returns the slicer.
▸ isConnectedPivotTable(ptName
): boolean
Check whether pivot table connect with the slicer
Name | Type | Description |
---|---|---|
ptName |
string |
name of pivot table |
boolean
▸ isLocked(value?
): any
Gets or sets the isLocked of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the isLocked of the slicer; otherwise, returns the slicer.
▸ isSelected(value?
): any
Gets or sets the isSelected of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the isSelected of the slicer; otherwise, returns the slicer.
▸ isVisible(value?
): any
Gets or sets the isVisible of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the isVisible of the slicer; otherwise, returns the slicer.
▸ level(value?
): any
Gets or sets the level of the slicer.
Name | Type |
---|---|
value? |
TimelineLevel |
any
If no value is set, returns the level of the slicer; otherwise, returns the slicer.
▸ name(value?
): any
Gets or sets the name of the slicer.
Name | Type |
---|---|
value? |
string |
any
If no value is set, returns the name of the slicer; otherwise, returns the slicer.
▸ nameInFormula(): string
Gets the nameInFormula of the slicer.
string
returns the nameInFormula of the slicer.
▸ position(value?
): any
Gets or sets the position of the slicer.
Name | Type |
---|---|
value? |
Point |
any
If no value is set, returns the position of the slicer; otherwise, returns the slicer.
▸ refresh(): void
Refresh the slicer.
void
▸ scrollPosition(value?
): any
Gets or sets the scrollPosition of the slicer.
Name | Type |
---|---|
value? |
Date |
any
If no value is set, returns the scrollPosition of the slicer; otherwise, returns the slicer.
▸ sheet(): Worksheet
Get the worksheet of the slicer.
returns the worksheet of the slicer.
▸ showHeader(value?
): any
Gets or sets the showHeader of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the showHeader of the slicer; otherwise, returns the slicer.
▸ showHorizontalScrollbar(value?
): any
Gets or sets the showHorizontalScrollbar of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the showHorizontalScrollbar of the slicer; otherwise, returns the slicer.
▸ showSelectionLabel(value?
): any
Gets or sets the showSelectionLabel of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the showSelectionLabel of the slicer; otherwise, returns the slicer.
▸ showTimeLevel(value?
): any
Gets or sets the showTimeLevel of the slicer.
Name | Type |
---|---|
value? |
boolean |
any
If no value is set, returns the showTimeLevel of the slicer; otherwise, returns the slicer.
▸ sourceName(): string
Get the sourceName of the slicer.
string
returns the sourceName of the slicer.
▸ startColumn(value?
): any
Gets or sets the startColumn of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the startColumn of the slicer; otherwise, returns the slicer.
▸ startColumnOffset(value?
): any
Gets or sets the startColumnOffset of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the startColumnOffset of the slicer; otherwise, returns the slicer.
▸ startRow(value?
): any
Gets or sets the startRow of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the startRow of the slicer; otherwise, returns the slicer.
▸ startRowOffset(value?
): any
Gets or sets the startRowOffset of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the startRowOffset of the slicer; otherwise, returns the slicer.
▸ style(value?
): any
Gets or sets the style of the slicer.
Name | Type |
---|---|
value? |
TimelineStyle |
any
If no style is set, returns the style of the slicer; otherwise, returns the slicer.
▸ width(value?
): any
Gets or sets the width of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the width of the slicer; otherwise, returns the slicer.
▸ x(value?
): any
Gets or sets the x of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the x of the slicer; otherwise, returns the slicer.
▸ y(value?
): any
Gets or sets the y of the slicer.
Name | Type |
---|---|
value? |
number |
any
If no value is set, returns the y of the slicer; otherwise, returns the slicer.