meta at hooks
This commit is contained in:
@ -9,7 +9,7 @@ $table = new ListJsonTable($json);
|
||||
$table->setBeforePrintCell(function ($key, $data) {
|
||||
return $key == "email" ? "<span style='color: aqua'>$data</span>" : $data;
|
||||
});
|
||||
$table->afterPrint(function () {
|
||||
$table->afterPrint(function ($meta) {
|
||||
return "<div>After Print</div>";
|
||||
});
|
||||
$table->create();
|
||||
|
Reference in New Issue
Block a user