add JasonTable class

This commit is contained in:
stasbilay02 committed 2024-08-02 15:40:13 +03:00
1 parent 67a3f5770e
commit f53346610e
5 files changed
+80 -103

No files matched your search

+2 -1
View File
@@ -7,7 +7,8 @@ use Itguild\Tables\ListJsonTable;
$json = file_get_contents('simple.json');
$table = new ListJsonTable($json);
$table->columns([
//$table->columns([
$table->setBeforePrintCell([
'status' => function ($ceil) {
return getStatusLabel()[$ceil];
},