Workflow
Lazy Load
ID
Name
Category
Price
In Stock
Created At
1
Arkansas Possum Pie
Meat
$274.00
No
22/02/2024
2
Albacore Tuna Melt
Fish
$66.00
No
22/02/2024
3
борщ
Soup
$125.00
No
22/02/2024
4
Bacalhau com natas
Fish
$57.00
Yes
22/02/2024
5
Baba Ghanoush
Soup
$134.00
Yes
22/02/2024
6
Bacon Cheeseburger
Pie
$199.00
Yes
22/02/2024
7
Baked potato
Meat
$195.00
No
22/02/2024
8
Baklava
Meat
$193.00
No
22/02/2024
9
Bangers and mash
Soup
$69.00
No
22/02/2024
10
Black Pudding
Garnish
$140.00
No
22/02/2024
11
Blue cheese dressing
Pasta
$208.00
No
22/02/2024
12
Boulliabaise
Soup
$159.00
Yes
22/02/2024
13
Bread
Dessert
$221.00
Yes
22/02/2024
14
Breaded shrimp
Fish
$74.00
No
22/02/2024
15
Breakfast burrito
Meat
$274.00
Yes
22/02/2024
16
Brisket
Pie
$234.00
Yes
22/02/2024
17
Brunswick stew
Soup
$200.00
Yes
22/02/2024
18
Bruschetta
Garnish
$84.00
No
22/02/2024
19
Buffalo Wings
Fish
$166.00
Yes
22/02/2024
20
Buffalo burger
Soup
$186.00
No
22/02/2024
21
Buffalo wing
Pie
$195.00
Yes
22/02/2024
22
Calamari
Garnish
$63.00
No
22/02/2024
23
Carne pizzaiola
Pie
$199.00
Yes
22/02/2024
24
Caviar
Fish
$183.00
Yes
22/02/2024
25
Ceviche
Dessert
$170.00
No
22/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\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.