Hide a column but not a field when adding

QuestionsHide a column but not a field when adding
Py asked 5 years ago

Hello,

The code
$col[“hidden”] = true;
hide the column in the grid, and the field in edit or add.

How to hide the column in the grid and show the field in add ?

Thanks a lot for your help,
Pierre-Yves

2 Answers
Py answered 5 years ago

In documentation…

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

Abu Ghufran Staff answered 5 years ago

Hope it solved your case.

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

7 + 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?