Workflow
Responsive
ID
Dish
Diet
Category
Price
Calories
In Stock
Production date
Action
ID
Dish
Diet
Category
Price
Calories
In Stock
Production date
Action
1
Arkansas Possum Pie
🌱 Suitable for Vegans
Meat
664 kcal
09/02/2024
2
Albacore Tuna Melt
πŸ₯œ Suitable for Celiacs
Fish
833 kcal
05/02/2024
3
Π±ΠΎΡ€Ρ‰
🍽️ All diets
Soup
339 kcal
22/02/2024
4
Bacalhau com natas
🍽️ All diets
Fish
760 kcal
21/02/2024
5
Baba Ghanoush
πŸ₯œ Suitable for Celiacs
Soup
250 kcal
29/01/2024
6
Bacon Cheeseburger
🍽️ All diets
Pie
320 kcal
07/02/2024
7
Baked potato
πŸ₯œ Suitable for Celiacs
Meat
365 kcal
09/02/2024
8
Baklava
πŸ₯œ Suitable for Celiacs
Meat
189 kcal
01/02/2024
9
Bangers and mash
🌱 Suitable for Vegans
Soup
351 kcal
23/01/2024
10
Black Pudding
🌱 Suitable for Vegans
Garnish
589 kcal
09/02/2024
Disclaimer: Table data is randomly generated for illustrative purposes only. The information here is not a reflection of the actual market and does not constitute business, financial, or medical advice.
open in GitHub
<?php
 
use PowerComponents\LivewirePowerGrid\Footer;
use PowerComponents\LivewirePowerGrid\Header;
use PowerComponents\LivewirePowerGrid\Responsive;
 
final class ResponsiveTable extends DishesTable
{
public function setUp(): array
{
return [
Header::make()
->showToggleColumns()
->showSearchInput(),
 
Footer::make()
->showPerPage()
->showRecordCount(),
 
Responsive::make()
->fixedColumns('dishes.name', Responsive::ACTIONS_COLUMN_NAME),
];
}
}

Here you can find all relevant packages installed on this demo.

Name
Version
Description
laravel/framework
v10
The Laravel Framework.
openspout/openspout
v4.23.0
PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
power-components/livewire-powergrid
5.x-dev
PowerGrid generates Advanced Datatables using Laravel Livewire.