Enable non editable column on ADD

QuestionsEnable non editable column on ADD
Sven asked 12 months ago


i have a column:

$col["title"]         = "Test";
$col["name"]         = "Type";
$col["editable"]      = false;
$col["edittype"]      = "select";
$col["editoptions"]     = $modules;

which is disbaled for editing but i want it to be temporarily enabled ONLY on adding new data to the table.

How can i do this?

1 Answers
Abu Ghufran Staff answered 12 months ago

Pasting from docs:

You can also customize in one line, on which dialog/section this column will be displayed. Possible options are true or false. This may override the hidden and edithidden settings. See column-access.php

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

Let me know if you need something else.

Abu Ghufran - Dev Team
PHP Grid Framework
Your Answer

6 + 12 =

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!