SpreadJS Documentation
GC.Spread.Sheets Namespace / Worksheet type / isValid Method
The row index.
The column index.
The cell value.
In This Topic
    isValid Method
    In This Topic
    Determines whether the cell value is valid.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var returnValue; // Type: boolean
    returnValue = instance.isValid(row, column, value);
    function isValid( 
       row : number,
       column : number,
       value : Object
    ) : boolean;

    Parameters

    row
    The row index.
    column
    The column index.
    value
    The cell value.

    Return Value

    true if the value is valid; otherwise, false.
    Example
    This example uses the isValid method.
    alert(activeSheet.isValid(0, 0, 10));
    See Also

    Reference

    Worksheet type