livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.

MIT License

Downloads
1.2M
Stars
1.4K
Committers
99
livewire-powergrid - v1.3.2

Published by luanfreitasdev about 3 years ago

Fixes:

  • added readonly on multi-select
  • added alert event on demo
  • centralize laravel path in function (tests)
livewire-powergrid - v1.3.1

Published by luanfreitasdev about 3 years ago

⚡️ PowerGrid 1.3 Released! ⚡️

✨New Features ✨

  • Demo command (Play with a table out of the box) php artisan powergrid:demo
  • Customize button placeholder
  • Record count with filter
  • Improved docs

🧰 Fixes 🧰

  • openModal parameter bug
    ** Long URL with GET method
  • Fixed bugs on DateTime filter
  • Fixed bugs on Create command

👀 Check it out!

livewire-powergrid - v1.2.11

Published by luanfreitasdev about 3 years ago

Fix:

  • Add new trait pagination
  • Refactoring

Translation:

livewire-powergrid - v1.2.10

Published by luanfreitasdev about 3 years ago

Added

Now you can export only selected per page or all (No changes are required)

image

livewire-powergrid - v1.2.8

Published by luanfreitasdev about 3 years ago

  • fix: duplicate query - #60
livewire-powergrid - v1.2.7

Published by luanfreitasdev about 3 years ago

  • added can method in actions - when false, it will not be visible on the screen

public function actions(): array
{
$canDelete = false;

 return [
    Button::add('destroy')
        ->caption(__('Delete'))
        ->caption(__('Delete'))
        **->can($canDelete)**
        ->class('bg-red-500 text-white')
        ->route('product.destroy', ['product' => 'id'])
        ->method('delete'),
    //...
 ];

}

https://livewire-powergrid.docsforge.com/#action-and-header-methods

livewire-powergrid - v1.2.6

Published by luanfreitasdev about 3 years ago

  • added can method in actions - when false, it will not be visible on the screen

public function actions(): array
{
$canDelete = false;

 return [
    Button::add('destroy')
        ->caption(__('Delete'))
        ->caption(__('Delete'))
        **->can($canDelete)**
        ->class('bg-red-500 text-white')
        ->route('product.destroy', ['product' => 'id'])
        ->method('delete'),
    //...
 ];

}

https://livewire-powergrid.docsforge.com/#action-and-header-methods

livewire-powergrid - v1.2.5

Published by luanfreitasdev about 3 years ago

  • Changed wire.input.lazy to wire.input.debounce issue 57
livewire-powergrid - v1.2.4

Published by luanfreitasdev about 3 years ago

livewire-powergrid - v1.2.3

Published by luanfreitasdev about 3 years ago

  • Updated model.php so that the relationSearch() method works with polymorphic relationships, and for a nested relationship. 53
livewire-powergrid - v1.2.2

Published by luanfreitasdev about 3 years ago

Layout correction

  • Improvements to filter components
  • Responsive layout (tailwind)
  • DarkMode (tailwind) - see demo

Back-end fix

Display html on action - issues 38
News

  • ToggleColumns allows to show/hide columns - setUp - showToggleColumns
  • ThemeManager - Allows you to change a CSS behavior for a particular component class or globally - template
  • Release Notification - when you run the powergrid:create command, we can let you know if you are using an older version - notification
  • Method createFromFillable refactored for more databases support - pull 51
livewire-powergrid - v1.1.7

Published by luanfreitasdev about 3 years ago

  • Fixed when not passed relationSearch method
livewire-powergrid - v1.1.6

Published by luanfreitasdev about 3 years ago

  • add relationSearch - doc
  • change powergrid:create command - doc
  • Add Farsi/Persian Language - pull 38
livewire-powergrid - v1.1.5

Published by luanfreitasdev about 3 years ago

  • fix sort direction
  • search with resetPage
livewire-powergrid - v1.1.4

Published by luanfreitasdev over 3 years ago

livewire-powergrid - v1.1.3

Published by luanfreitasdev over 3 years ago

  • Fix translation for select inputs
livewire-powergrid - v1.1.2

Published by luanfreitasdev over 3 years ago

  • fix bootstrap button class
  • fiz bootstrap pagination
livewire-powergrid - v1.1.1

Published by luanfreitasdev over 3 years ago

  • Fix Stub generate in command create.
  • Merge pull 23 o @emtudo with indentation to improve code readability.
  • Add github actions.
livewire-powergrid - v1.1.0

Published by luanfreitasdev over 3 years ago

What has changed ?

Summary: an addColumns method has been added where all the configuration of columns (addColumn) will be previously inside dataSource.
The dataSource method receives only the model call without get () to use the Model feature and with get it is automatically understood as using the Collection.

Different from the previous v1.0.2? Some things have changed but it is fully compatible. We advise you to upgrade to the new model.

What's new ?

  • Model creation support (internally using pagination)
  • Rename the file to be downloaded well with the options per screen (excel, csv)
  • Add the method: ->showExportOption ('download', ['excel', 'csv']) within the setUp method
  • Modal opening support using the Livewire UI Modal component
  • Tests with pestphp
  • Allow to use subfolders in create command

What improvements:

Command updates: creation in a specific directory and showing the component name in the console.
Documentation is now at http://livewire-powergrid.docsforge.com/

livewire-powergrid - Add spout

Published by luanfreitasdev over 3 years ago

adds spout support for exporting xlsx and csv files to large numbers of records.

In the tests performed it was possible to export 2 million records being separated by the limitation of each sheet in a single file.

https://opensource.box.com/