SpreadJS Documentation
sortState Method
GC.Spread.Sheets.Slicers Namespace > ItemSlicer type : sortState Method
The sort state of the item slicer.
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( 
   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