columns([ $table->columns([ [ 'field' => 'created_at', 'format' => 'date:d-m-Y', ], 'status' => function ($cell) { return getStatusLabel()[$cell]; }, 'email' => function ($cell) { return "$cell"; }, 'description' => function ($cell) { return "$cell"; } ]); //$table->setBeforePrintCell(function ($key, $data) { // return $key == "email" ? "$data" : $data; //}); $table->afterPrint(function ($meta) { return "