SpreadJS 13
GC.Spread.Sheets.DataValidation Namespace / DefaultDataValidator type / errorStyle Method
The error style to display.
In This Topic
    errorStyle Method
    In This Topic
    Gets or sets the error style to display.
    Syntax
    var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition);
    var returnValue; // Type: any
    returnValue = instance.errorStyle(value);
    function errorStyle( 
       value : ErrorStyle
    ) : any;

    Parameters

    value
    The error style to display.

    Return Value

    If no value is set, returns the error style to display; otherwise, returns the data validator.
    See Also