column format

This commit is contained in:
apuc committed 2024-08-08 14:21:47 +03:00
1 parent d98ddded07
commit 02fa193652
8 files changed
+104 -15

No files matched your search

+3
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];
},