public final class GridValidationType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_VALUE
Any value validation type.
|
static int |
BOOLEAN
TRUE or FALSE
|
static int |
CHECK_BOX
Display the cell as a checkbox.
|
static int |
CUSTOM
Custom validation type.
|
static int |
CUSTOM_EXPRESSION
Custom validation type, using regular expression.
|
static int |
CUSTOM_FUNCTION
Custom javascript function validation.
|
static int |
CUSTOM_SERVER_FUNCTION
Custom server-side function validation.
|
static int |
DATE
Date validation type.
|
static int |
DATE_TIME
DateTime (yyyy-MM-dd or yyyy-MM-dd hh:mm:ss).
|
static int |
DECIMAL
Decimal validation type.
|
static int |
DROP_DOWN_LIST
Show dropdown list.
|
static int |
FREE_LIST
Free List validation type.
|
static int |
LIST
List validation type.
|
static int |
TEXT_LENGTH
Text length validation type.
|
static int |
TIME
Time validation type.
|
static int |
WHOLE_NUMBER
Whole number validation type.
|
public static final int ANY_VALUE
public static final int WHOLE_NUMBER
public static final int DECIMAL
public static final int LIST
public static final int DATE
public static final int TIME
public static final int TEXT_LENGTH
public static final int CUSTOM
public static final int DROP_DOWN_LIST
public static final int FREE_LIST
public static final int CUSTOM_EXPRESSION
public static final int BOOLEAN
public static final int DATE_TIME
public static final int CUSTOM_FUNCTION
Remarks
Use the ClientValidationFunction property to specify the client validation function's name. The function should be declared as this formation:public static final int CUSTOM_SERVER_FUNCTION
Remarks
Use the CustomServerFunction property to specify the serverside validation . below is the example code:public static final int CHECK_BOX
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.