Skip to content

Rendering a PowerGrid Table โ€‹

Render PowerGrid โ€‹

PowerGrid Tables are Livewire components. Render ProductTable (app/Livewire/ProductTable.php) with:

phpresources/views/my-view.blade.php
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>My App</title>

        @vite(['resources/css/app.css', 'resources/js/app.js'])

        @livewireStyles
    </head>
    <body>
        <livewire:product-table />// [!code focus]

        @livewireScripts
    </body>
</html>

For multiple tables on one page, passing data, routes, and subfolders, see Render PowerGrid Tables.

Next steps โ€‹

Created By Luan Freitas and @DanSysAnalyst