Enable non editable column on ADD

QuestionsEnable non editable column on ADD
Sven asked 6 years 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 6 years 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
Grid 4 PHP Framework
 
Your Answer

16 + 10 =

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?