Enable non editable column on ADD

QuestionsEnable non editable column on ADD
Sven asked 3 months ago

Hi,

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?

Thx
1 Answers
Abu Ghufran Staff answered 2 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

12 + 14 =

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:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!