SpreadJS Documentation
showRow Method
The row index.
The vertical position in which to display the row.
Moves the view of a row to the specified position in the viewport.
Syntax
var instance = new GcSpread.Sheets.Sheet(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 method.
$("#button1").click(function () {    
    activeSheet.showRow(9, GcSpread.Sheets.VerticalPosition.top);
});

$("#button2").click(function(){
    activeSheet.showColumn(9, GcSpread.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

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.