All the properties of the grid are the same as these for Inline editing -- see
Inline Editing: Properties -- with the addition of the following option in the
colModel:
editrules
Calling Convention:
{edithidden:true(false), required:true(false), number:true(false), minValue:val, maxValue:val, email:true(false)}
With this option we can:
- edit, in the form, fields that are hidden in the grid. If the field is hidden in the grid and edithidden is set to true, the field can be edited when add or edit methods are called.
- perform a client-side validation in the formedit. This is done with:
- required: true(false) - if set to true, the value will be checked and if empty, an error message will be displayed.
- number: true(false) - if set to true, the value will be checked and if this is not a number, an error message will be displayed.
- minValue: valid number - if set, the value will be checked and if the value is less than this, an error message will be displayed.
- maxValue: valid number - if set, the value will be checked and if the value is more than this, an error message will be displayed.
- email: true(false) - if set to true, the value will be checked and if this is not valid e-mail, an error message will be displayed.