SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / getViewportHeight Method
The index of the row viewport.
In This Topic
    getViewportHeight Method
    In This Topic
    Gets the height of the specified viewport row for the active sheet.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(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

    Worksheet type