rappasoft / laravel-livewire-tables

A dynamic table component for Laravel Livewire
https://rappasoft.com/docs/laravel-livewire-tables/v2/introduction
MIT License
1.71k stars 320 forks source link

Add ability to hide a column #29

Closed detygon closed 3 years ago

detygon commented 3 years ago

For now, we must create a new class that extends Column and use CanBeHidden trait but it would be great if this package has built-in support.

rappasoft commented 3 years ago

When would you need to hide a column?

detygon commented 3 years ago

Well, I have a use case where I need to show/hide some columns based on the user's role or based on the parameters provided in the request.

On Sun, 9 Aug 2020 at 16:21, Anthony Rappa notifications@github.com wrote:

When would you need to hide a column?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rappasoft/laravel-livewire-tables/issues/29#issuecomment-671071618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHQMOTNGBA46WWG6DLA3LR73EHTANCNFSM4PDTPAVQ .

rappasoft commented 3 years ago

Added in the next release