column format

This commit is contained in:
2024-08-08 14:21:47 +03:00
parent d98ddded07
commit 02fa193652
8 changed files with 104 additions and 15 deletions

View File

@ -9,6 +9,9 @@ $table = new ListJsonTable($json);
//$table->columns([
$table->columns([
"created_at" => [
"format" => "date:Y-m-d",
],
'status' => function ($cell) {
return getStatusLabel()[$cell];
},