SpreadJS Documentation
showActiveCell Method
The vertical position for the cell.
The horizontal position for the cell.
Moves the active cell to the specified position.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: any
value = instance.showActiveCell(verticalPosition, horizontalPosition);
function showActiveCell( 
   verticalPosition : VerticalPosition,
   horizontalPosition : HorizontalPosition
) : any;

Parameters

verticalPosition
The vertical position for the cell.
horizontalPosition
The horizontal position for the cell.
Example
This example uses the showActiveCell method.
activeSheet.setActiveCell(10,5);
spread.showActiveCell(GcSpread.Sheets.VerticalPosition.center, GcSpread.Sheets.HorizontalPosition.center);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.