custom handler

This commit is contained in:
2024-08-02 11:44:34 +03:00
parent 8d1dce0222
commit 2c1db8573c
2 changed files with 26 additions and 36 deletions

View File

@ -6,9 +6,6 @@ use Itguild\Tables\ListJsonTable;
$json = file_get_contents('simple.json');
$table = new ListJsonTable($json);
//$table->column("status", function ($ceil){
// return getStatusLabel()[$ceil];
//});
$table->columns([
'status' => function ($ceil) {