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

Parameters

row
The row index.
col
The column index.
verticalPosition
The vertical position for the cell.
horizontalPosition
The horizontal position for the cell.
Example
This example uses the showCell method.
spread.showCell(10, 5, GcSpread.Sheets.VerticalPosition.center, GcSpread.Sheets.HorizontalPosition.center);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.