SlicerCacheItem

SlicerCacheItem class

Represent slicer data source item

class SlicerCacheItem;

Properties

PropertyTypeDescription
selectedbooleanSpecifies whether the SlicerCacheItem is selected or not.
valuestringReadonly. Returns the label text for the slicer item.

Methods

MethodDescription
getSelected()@deprecated. Please use the ‘selected’ property instead. Specifies whether the SlicerCacheItem is selected or not.
setSelected(boolean)@deprecated. Please use the ‘selected’ property instead. Specifies whether the SlicerCacheItem is selected or not.
getValue()@deprecated. Please use the ‘value’ property instead. Returns the label text for the slicer item.
isNull()Checks whether the implementation object is null.

selected

Specifies whether the SlicerCacheItem is selected or not.

selected : boolean;

Remarks

Please use [ Slicer.SelectItems(string[], bool)](../ slicer.selectitems(string[], bool)/) method instead if you want to select item. Because this refresh operation causes poor performance due to full data reload every time selection changes.

value

Readonly. Returns the label text for the slicer item.

value : string;

getSelected()

@deprecated. Please use the ‘selected’ property instead. Specifies whether the SlicerCacheItem is selected or not.

getSelected() : boolean;

Remarks

Please use [ Slicer.SelectItems(string[], bool)](../ slicer.selectitems(string[], bool)/) method instead if you want to select item. Because this refresh operation causes poor performance due to full data reload every time selection changes.

setSelected(boolean)

@deprecated. Please use the ‘selected’ property instead. Specifies whether the SlicerCacheItem is selected or not.

setSelected(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

Remarks

Please use [ Slicer.SelectItems(string[], bool)](../ slicer.selectitems(string[], bool)/) method instead if you want to select item. Because this refresh operation causes poor performance due to full data reload every time selection changes.

getValue()

@deprecated. Please use the ‘value’ property instead. Returns the label text for the slicer item.

getValue() : string;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;