⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
MIT License
Published by luanfreitasdev almost 3 years ago
Published by luanfreitasdev almost 3 years ago
showToggleColumns() mess with #218
Published by luanfreitasdev almost 3 years ago
action parameters when entry is null
Published by luanfreitasdev almost 3 years ago
withSum() & withAvg() not working for calculated data Bug Fixed. #222
withCount should only count "valid" records #226
action parameters does not work with zero https://github.com/Power-Components/livewire-powergrid/issues/224
Delete After Download export option (default true) #223
public function setUp(): void
{
// ...
->showExportOption('download', ['excel', 'csv'], ['deleteAfterDownload' => true]);
Published by luanfreitasdev almost 3 years ago
https://github.com/Power-Components/livewire-powergrid/issues/220 - undefined $row
when defining a single button in header method
Published by luanfreitasdev almost 3 years ago
In this version, AlpineJs ^3 is a requirement - deprecation to v2
powergrid:create - #191, #194, #199 (create based on default App\Models directory. enum field and directory)
layout improvements for Bootstrap5
resetPage() order
Full Changelog: https://github.com/Power-Components/livewire-powergrid/compare/v1.5.1...v2.0.0
Published by luanfreitasdev almost 3 years ago
Full Changelog: https://github.com/Power-Components/livewire-powergrid/compare/v1.5.0...v1.5.1
Published by luanfreitasdev almost 3 years ago
Full Changelog: https://github.com/Power-Components/livewire-powergrid/compare/v1.4.7...v1.5.0
$withSortStringNumber
- https://github.com/Power-Components/livewire-powergrid/issues/111
$showUpdateMessages
$ignoreTablePrefix = true
avoiding problems with table names with joins when you need to remove themsortable(string $tableWithColumn = '')
. Now is sortable()
Column::add()
->title('Category')
->field('category_name')
->sortable('categories.name'),
Column::add()
->title('Category')
->field('category_name')
->sortable(),
searchable(string $tableWithColumn = '')
. Now is searchable()
Column::add()
->title('Category')
->field('category_name')
->searchable('categories.name'),
Column::add()
->title('ID')
->field('id')
->searchable(),
Column::add()
->title('Category')
->field('category_name', 'categories.name')
->searchable(),
Published by luanfreitasdev almost 3 years ago
issues:
public string $sortField = 'dishes.id';
public string $primaryKey = 'dishes.id';
->addColumn('dishes.name', function (Dish $dish) {
return $dish->name;
})
Column::add()
->title(__('Name'))
->field('dishes.name')
Published by luanfreitasdev almost 3 years ago
public bool $withSortStringNumber = false
, as it did not have PostgreSQL support and there are no conflicts with join query.Published by luanfreitasdev almost 3 years ago
Published by luanfreitasdev almost 3 years ago
Published by luanfreitasdev almost 3 years ago
Published by luanfreitasdev almost 3 years ago
inputMultiSelect
from demoPublished by luanfreitasdev almost 3 years ago
📺 Laravel daily Quick Datatable Package
:
Published by luanfreitasdev almost 3 years ago
->addColumn('produced_at_formatted', function (Dish $dish) {
return Carbon::parse($dish->produced_at)->format('d/m/Y');
})
Published by luanfreitasdev almost 3 years ago
wire:key
was calling by default the 'id' column in collection componentsPublished by luanfreitasdev about 3 years ago