columns([ "created_at" => [ "format" => "date:Y-m-d", 'filter' => [ 'class' => InputDateFilter::class, ] ], 'description' => [ "format" => "html", "style" => ["width" => "300px"], "filter" => [ 'class' => InputTextFilter::class, 'value' => 'value' ], "value" => function ($cell) { return "$cell"; } ], 'description2' => [ "format" => "html", "filter" => [ 'class' => SelectFilter::class, 'param' => ['black', 'red', 'green', 'blue', 'yellow'], 'value' => 'red' ], ], 'status' => [ "filter" => [ 'class' => SelectFilter::class, 'param' => getStatusLabel(), 'value' => 'Активный' ], "value" => function ($cell) { return getStatusLabel()[$cell]; }], 'k33' => [ "format" => "integer", 'filter' => [ 'class' => \Itguild\Tables\Filter\InputRangeFilter::class, 'param' => ['min' => 0, 'max' => 10], ] ], 'email' => function ($cell) { return "$cell"; }, ]); $table->afterPrint(function ($meta) { return "