Header and Footer
two blocks of head and foot are added to the grid, and you can fill in the content you want.
$grid->header(function ($query) {
return 'header';
});
$grid->footer(function ($query) {
return 'footer';
});The parameter $query of the closure function is an instance of \Illuminate\Database\Eloquent\Builder,
Last updated