Change the table content

Hi!

I have a roles table, with four header actions (1st image).

I would like to show different data in the table depending on the action chosen. E.g.: show the data in 1st image when I click on the firs button on the left; show the data structure in 2nd image when I click on another button.

Maybe is better to use a Livewire components/custom page, but I can't seem to make it work. I create class and view with the
php artisan make:filament-page
, but I don't know how to render it.

Thank you so much
image.png
image.png
Was this page helpful?