SpreadJS Documentation
GC.Spread.Slicers Namespace / GeneralSlicerData type / getData Method
The column name.
The specific range. range.min: number type, the minimum value. range.max: number type, the maximum value.
In This Topic
    getData Method
    In This Topic
    Gets the data by the specified column name.
    Syntax
    var instance = new GC.Spread.Slicers.GeneralSlicerData(data, columnNames);
    var value; // Type: Array
    value = instance.getData(columnName, range);
    function getData( 
       columnName : string,
       range : object
    ) : Array;

    Parameters

    columnName
    The column name.
    range
    The specific range. range.min: number type, the minimum value. range.max: number type, the maximum value.

    Return Value

    The data that corresponds to the specified column name.
    See Also