SlicerCacheItem
SlicerCacheItem class
Represent slicer data source item
class SlicerCacheItem;
Properties
| Property | Type | Description |
|---|---|---|
| selected | boolean | Specifies whether the SlicerCacheItem is selected or not. |
| value | string | Readonly. Returns the label text for the slicer item. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The 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;