GridCustomServerValidation

public interface GridCustomServerValidation

the interface you need to implement when use server side validation. CustomServerFunction.

Methods

MethodDescription
validate(GridWorksheet sheet, int row, int col, String value)Remarks

validate(GridWorksheet sheet, int row, int col, String value)

public abstract String validate(GridWorksheet sheet, int row, int col, String value)

Remarks

if return string.empty the validate is passed,else you can return any related message which can be deal in ClientCallback function

Parameters:

ParameterTypeDescription
sheetGridWorksheetthe GridWorksheet
rowintthe row index of the cell
colintthe column index of the cell
valuejava.lang.Stringthe value to do validation

Returns: java.lang.String - string based result value