columns([ "created_at" => [ "format" => "date:Y-m-d", 'filter' => "date" ], 'description' => [ "format" => "html", "style" => ["width" => "300px"], "filter" => "text", "value" => function ($cell) { return "$cell"; } ], 'status' => [ "format" => "integer", "value" => function ($cell) { return getStatusLabel()[$cell]; }], 'email' => function ($cell) { return "$cell"; }, ]); //$table->setBeforePrintCell(function ($key, $data) { // return $key == "email" ? "$data" : $data; //}); $table->afterPrint(function ($meta) { return "