How to make a field only editable on Add Dialog, otherwise un-editable?

QuestionsHow to make a field only editable on Add Dialog, otherwise un-editable?
Paul Griffin asked 2 weeks ago

This FAQ works for one field.

I need the syntax for multiple fields.

 

Thanks in advance

1 Answers
Abu Ghufran Staff answered 2 weeks ago

That faq is little old. You can now set it in each column settings and make it true/false for desired operation.

$col[“show”] = array(“list”=>true, “add”=>true, “edit”=>true, “view”=>true, “bulkedit”=>true);

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

0 + 16 =

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?