SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / showRow Method
The row index.
The vertical position in which to display the row.
In This Topic
    showRow Method
    In This Topic
    Moves the view of a row to the specified position in the viewport.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: any
    value = instance.showRow(row, verticalPosition);
    function showRow( 
       row : number,
       verticalPosition : VerticalPosition
    ) : any;

    Parameters

    row
    The row index.
    verticalPosition
    The vertical position in which to display the row.
    Example
    This example uses the showRow or the showColumn methods.
    $("#button1").click(function () {    
        activeSheet.showRow(9, GC.Spread.Sheets.VerticalPosition.top);
    });
    
    $("#button2").click(function(){
        activeSheet.showColumn(9, GC.Spread.Sheets.HorizontalPosition.left);
    });
    
    //Add button controls to page
    <input type="button" id="button1" value="button1"/>
    <input type="button" id="button2" value="button2"/>
    See Also

    Reference

    Worksheet type