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

    Parameters

    value
    The sort state of the item slicer.

    Return Value

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

    Reference

    ItemSlicer type