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

    Parameters

    value
    The width of the item slicer.

    Return Value

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

    Reference

    ItemSlicer type