SpreadJS 14
GC.Spread.Pivot Namespace / PivotTable type / getItemsByField Method
the field name of pivot table field
In This Topic
    getItemsByField Method
    In This Topic
    Syntax
    var instance = new GC.Spread.Pivot.PivotTable(name, sheet, row, col, layout, style);
    var value; // Type: any
    value = instance.getItemsByField(fieldName);
    function getItemsByField( 
       fieldName : string
    ) : any;

    Parameters

    fieldName
    the field name of pivot table field

    Return Value

    return all items of pivot table field
    See Also

    Reference

    PivotTable type