doesn't disabled…

Questionsdoesn't disabled…
aron asked 2 weeks ago

with this line i disable fields in blur event based in the value of a field:

$col[“editoptions”] = array(“onblur”=>”update_fields()”);

the field “fecha” is disabled correctly, but the field “curp”, doesn’t…

is for the type???  “file”…..

 

this is the set of the fields:

$col = array();
$col[“title”] = “Captura”;
$col[“name”] = “fecha”;
$col[“editable”] = true; // this column is editable
$col[“formatter”] = “date”;
$col[“show”] = array(“list”=>true,”edit”=>true,”add”=>true,”view”=>true);
$cols[] = $col;

$col = array();
col[“title”] = “Cargar”;
$col[“name”] = “curp”;
$col[“width”] = “150”;
$col[“editable”] = true; // this column is editable
$col[“edittype”] = “file”; // render as file
$col[“upload_dir”] = “docs”; // upload here
$col[“editrules”] = array(“ifexist”=>”override”); // “rename”, “override” can also be set
$col[“show”] = array(“list”=>true,”edit”=>true,”add”=>true,”view”=>true);
$cols[] = $col;

 

Your Answer

20 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!