Hello,
Could you please advise on how to hide a column while still retaining its value in the $row variable within the callbackColumn ?
Best regards,
Yannick Willener
Hello,
Could you please advise on how to hide a column while still retaining its value in the $row variable within the callbackColumn ?
Best regards,
Yannick Willener
Hello @ywillener ,
You can use the function fieldTypeColumn and have the type as invisible . For example:
$crud->fieldTypeColumn('order_datetime', 'invisible');
For more about fieldTypeColumn you can find here: fieldTypeColumn | Grocery CRUD - A PHP CRUD Generator Library .
Let me know if that worked for you.
Regards
Johnny
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 882 | Dec 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 1.1k | Jan 5 |
| Inline edit has problems if the column width is set |
|
2 | 1.1k | Feb 28 |
| PRINT date format not consistent |
|
6 | 614 | Sep 7 |
| “Ooooops, something went wrong! If you can see this message, this is probably a misconfiguration in Grocery CRUD Enterprise!” |
|
6 | 549 | Oct 28 |