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 | |
|---|---|---|---|---|
| Use callbackColumn() but keep inline edit functionality |
|
3 | 633 | Apr 12 |
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 558 | Nov 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 855 | Jan 5 |
| Inline edit has problems if the column width is set |
|
2 | 830 | Feb 28 |
| PRINT date format not consistent |
|
6 | 333 | Sep 7 |