GridCustomServerValidation
public interface GridCustomServerValidation
the interface you need to implement when use server side validation. CustomServerFunction.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
sheet | GridWorksheet | the GridWorksheet |
row | int | the row index of the cell |
col | int | the column index of the cell |
value | java.lang.String | the value to do validation |
Returns: java.lang.String - string based result value