Ezadev Admin
  • Welcome Cah
  • Ezadev Doc
    • Home
      • Documentations
        • Installation
        • Quick Start
        • Ezadev Admin Commands
        • Configuration
        • Layout
        • Content Message
        • Custom Authentication
        • Custom Chart
        • Custom Navbar
        • Data Form
        • Model Form
          • Form Callback
          • Field Management
          • Form Field
          • Form Init
          • Form Upload
          • Validation
        • Grid
          • Grid Actions
          • Grid Column
          • Column Filter
          • Column Attribute
          • Custom Actions
          • Custom Tools
          • Export
          • Grid Filters
          • Header and Footer
          • Hotkeys
          • Grid Init
          • Inline Edit
          • Quick Create
          • Quick Search
          • Total Row
        • Detail View
          • Custom Detail
          • Fields
          • Relationship
        • Tree View
        • Permissions
        • Widgets
  • Dokumentasi Api e-Repository
Powered by GitBook
On this page
  1. Ezadev Doc
  2. Home
  3. Documentations
  4. Grid

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,

PreviousGrid FiltersNextHotkeys

Last updated 3 years ago