add JasonTable class
This commit is contained in:
@ -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];
|
||||
},
|
||||
|
Reference in New Issue
Block a user