Tag Archives: Edit rule

set_editrule()

set_editrule(mixed $col, mixed $rule_func) : $this

Custom data validation rules. The 2nd parameter is a the JavaScript function name used for data validation.

Parameters

mixed $col
  • Column name
mixed $rule_func
  • Data rule validation JavaScript