SpreadJS 13
GC.Spread.Sheets.Slicers Namespace / ItemSlicer type / captionName Method
The caption name of the item slicer.
In This Topic
    captionName Method
    In This Topic
    Gets or sets the caption name of the item slicer.
    Syntax
    var instance = new GC.Spread.Sheets.Slicers.ItemSlicer(name, slicerData, columnName);
    var returnValue; // Type: any
    returnValue = instance.captionName(value);
    function captionName( 
       (optional) value : string
    ) : any;

    Parameters

    value
    The caption name of the item slicer.

    Return Value

    If no value is set, returns the caption name of the item slicer; otherwise, returns the item slicer.
    See Also

    Reference

    ItemSlicer type