SpreadJS 13
GC.Spread.Sheets.Outlines Namespace / Outline type / find Method
The index of the row or column.
The level of the outline (range group).
In This Topic
    find Method
    In This Topic
    Gets the outline (range group) with the specified group level and row or column index.
    Syntax
    var instance = new GC.Spread.Sheets.Outlines.Outline(count);
    var value; // Type: OutlineInfo
    value = instance.find(index, level);
    function find( 
       index : number,
       level : number
    ) : OutlineInfo;

    Parameters

    index
    The index of the row or column.
    level
    The level of the outline (range group).

    Return Value

    The specified range group.
    Example
    This example uses the find method.
    activeSheet.rowOutlines.group(0,5);
    var rgi = activeSheet.rowOutlines.find(1, 0);
    rgi.state(GC.Spread.Sheets.Outlines.OutlineState.collapsed);
    spread.invalidateLayout();
    spread.repaint();
    See Also

    Reference

    Outline type