add row at json view table
This commit is contained in:
@ -7,6 +7,10 @@ use Itguild\Tables\ViewJsonTable;
|
||||
$json = file_get_contents('view.json');
|
||||
|
||||
$table = new ViewJsonTable($json);
|
||||
|
||||
$table->addRow("Имя", function (){
|
||||
return "Kirill";
|
||||
}, ['after' => 'username']);
|
||||
//$table->rows([
|
||||
$table->rows([
|
||||
'username' => function ($cell) {
|
||||
|
Reference in New Issue
Block a user