SpreadJS 13
GC.Spread.Sheets.OutlineColumn Namespace / OutlineColumn type / getCollapsed Method
The index of the collapsed row.
In This Topic
    getCollapsed Method
    In This Topic
    Gets the collapsed setting of the row or all rows.
    Syntax
    var instance = new GC.Spread.Sheets.OutlineColumn.OutlineColumn(sheet);
    var value; // Type: any
    value = instance.getCollapsed(row);
    function getCollapsed( 
       (optional) row : number
    ) : any;

    Parameters

    row
    The index of the collapsed row.

    Return Value

    If row is undefined, returns all row's collapsed status; otherwise, returns the collapsed setting of the row.
    See Also