SpreadJS Documentation
getViewportHeight Method
The index of the row viewport.
Gets the height of the specified viewport row for the active sheet.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: number
value = instance.getViewportHeight(rowViewportIndex);
function getViewportHeight( 
   rowViewportIndex : number
) : number;

Parameters

rowViewportIndex
The index of the row viewport.

Return Value

The height of the viewport.
Example
This example uses the getViewportHeight method.
alert(activeSheet.getViewportHeight(1));
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.