Edit Grid Plug-ins
EditableGridPlugin
  • The plugin needs server-side element.
    ({requestOptions:{url: 'edit.php'}})
  • Adds buttons:
  • Add (one line in the table)
  • Remove (one or several(SelectableGridPlugin) lines in the table).
  • Save
Valid Grid plugins
FormattedGridPlugin
  • The plugin is responsible for Valid (check of the data on rules at input).
  • An example: if "validator": "required" the user should enter the information into the cell of the appropriate column, otherwise "Save" will not work.
  • FormValidatorLbls and help at errors:
  • url:'Please enter a valid URL such as http://www.segmentbox.com',
  • email:'Please enter a valid email address. For example "name@domain.com".',
  • date:'Please enter a valid date such as DD/MM/YYYY (i.e. "31/12/1999")',
  • alpha:'Please use letters only (a-z) with in this field. No spaces or other characters are allowed.',
  • alphanum:'Please use only letters (a-z) or numbers (0-9) only in this field. No spaces or other characters are allowed.',
  • required:'This field is required.',
  • digits:'Please use numbers and punctuation only in this field (for example, a phone number with dashes or dots is permitted).',
  • minLength:'Please enter at least {minLength} characters.',
  • maxLength:'Please enter no more than {maxLength} characters.',
  • integer:'Please enter an integer in this field. Numbers with decimals (e.g. 1.25) are not permitted.',
  • numeric:'Please enter only numeric values in this field (i.e. "1" or "1.1" or "-1" or "-1.1").'
Save info
- Entered information in cells, including checkboxes and selectors.
- Current quantity of lines.
- Order of columns, width of columns, heights of lines and sequence of ones.
Features of Edit
You can customize what buttons (add,remove,save) to display.
Additional parameters for Valid
- Values "minLength" and "maxLength" can be customised.
- You can edit text of FormValidatorLbls in language.js file.