Gustavo Lazaro asked 2 years ago

Abu, when I add a record and I choose a client, I have to show the address, postal code and locality, but these last three data should not be able to be modified, only informative. How can it be done? Thank you

1 Answers
Abu Ghufran answered 2 years ago


If you are using dropdown to choose client, then you can use callback function to these fill fields and make them readonly with no border.

Code: In dropdown-callback.php set gender column to:

$col = array();
$col["title"] = "Gender";
$col["name"] = "gender";
$col["width"] = "40";
$col["editable"] = true;
$col["editoptions"] = array("readonly"=>"readonly", "style"=>"border:0");
$cols[] = $col;

Your Answer

11 + 15 =

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!