Hiding a Column While Retaining Its Value in callbackColumn

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