SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / setRowVisible Method
The row index.
Set to true to display the specified row.
The sheet area. If this parameter is not given, it defaults to viewport.
In This Topic
    setRowVisible Method
    In This Topic
    Sets whether the control displays the specified row in the specified sheet area.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var returnValue; // Type: any
    returnValue = instance.setRowVisible(row, value, sheetArea);
    function setRowVisible( 
       row : number,
       value : boolean,
       (optional) sheetArea : SheetArea
    ) : any;

    Parameters

    row
    The row index.
    value
    Set to true to display the specified row.
    sheetArea
    The sheet area. If this parameter is not given, it defaults to viewport.
    Example
    This example sets the specified row to be hidden.
    activeSheet.setRowVisible(1,false,GC.Spread.Sheets.SheetArea.viewport);
    See Also

    Reference

    Worksheet type