columns([ "created_at" => [ "format" => "date:Y-m-d", 'filter' => [ 'class' => InputFilter::class, 'param' => 'date' ] ], 'description' => [ "format" => "html", "style" => ["width" => "300px"], "filter" => [ 'class' => InputFilter::class, 'param' => 'text' ], "value" => function ($cell) { return "$cell"; } ], 'description2' => [ "format" => "html", "filter" => [ 'class' => SelectFilter::class, 'param' => ['black', 'red', 'green', 'blue', 'yellow'] ], ], 'status' => [ "format" => "integer", "filter" => [ 'class' => SelectFilter::class, 'param' => getStatusLabel() ], "value" => function ($cell) { return getStatusLabel()[$cell]; }], 'k33' => [ "format" => "integer", 'filter' => [ 'class' => InputFilter::class, 'param' => 'range' ] ], 'email' => function ($cell) { return "$cell"; }, ]); $table->afterPrint(function ($meta) { return "