Hello,
from demo:
$col["editrules"] = array("required"=>true, "readonly"=>true, "readonly-when"=>array("==","male"));
i d like to use readonly , when lenght of id cell is 13 for exemple
something like "readonly-when"=>array("id.lenght","==","13");
possible ?
Thank you and good work!
1 Answers
You can have something like "readonly-when"=>array("field","==","13");
So alternate way for your case would be to select a new field e.g.
select a,b,c,len(id) as d from table … and when field 'd' in readonly-when condition.
You may also need latest build for this case. Email me with orderno / payment email address for update.
Your Answer