Workflow
Lazy Load
ID
Name
Category
Price
In Stock
Created At
1
Arkansas Possum Pie
Pie
$95.00
Yes
05/04/2024
2
Albacore Tuna Melt
Dessert
$208.00
Yes
05/04/2024
3
борщ
Fish
$277.00
Yes
05/04/2024
4
Bacalhau com natas
Garnish
$149.00
Yes
05/04/2024
5
Baba Ghanoush
Pasta
$56.00
No
05/04/2024
6
Bacon Cheeseburger
Pie
$198.00
No
05/04/2024
7
Baked potato
Fish
$206.00
Yes
05/04/2024
8
Baklava
Dessert
$67.00
No
05/04/2024
9
Bangers and mash
Meat
$79.00
Yes
05/04/2024
10
Black Pudding
Dessert
$108.00
Yes
05/04/2024
11
Blue cheese dressing
Soup
$56.00
No
05/04/2024
12
Boulliabaise
Meat
$67.00
Yes
05/04/2024
13
Bread
Garnish
$93.00
Yes
05/04/2024
14
Breaded shrimp
Fish
$250.00
No
05/04/2024
15
Breakfast burrito
Garnish
$55.00
No
05/04/2024
16
Brisket
Fish
$264.00
No
05/04/2024
17
Brunswick stew
Meat
$222.00
Yes
05/04/2024
18
Bruschetta
Soup
$181.00
Yes
05/04/2024
19
Buffalo Wings
Dessert
$85.00
No
05/04/2024
20
Buffalo burger
Fish
$195.00
Yes
05/04/2024
21
Buffalo wing
Dessert
$109.00
No
05/04/2024
22
Calamari
Pasta
$231.00
No
05/04/2024
23
Carne pizzaiola
Meat
$84.00
Yes
05/04/2024
24
Caviar
Meat
$195.00
No
05/04/2024
25
Ceviche
Dessert
$240.00
No
05/04/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\Lazy;
 
class LazyLoadTable extends SimpleTable
{
public string $tableName = 'simpleTable';
 
public function setUp(): array
{
return [
Header::make()
->showSearchInput(),
 
Footer::make()
->showPerPage(100)
->showRecordCount(),
 
Lazy::make()
->rowsPerChildren(25),
];
}
}

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.