Add

QuestionsAdd
Gustavo Lazaro asked 7 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 7 years ago

Hello,

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.
http://prntscr.com/fxr4s2

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

13 + 20 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?