Is it possible to have some sort of tabs / buttons above the table?

I would like to list some of items above the table, and show different results on the table when someone clicks on one or another. Is there an easy way to achieve this?
17 Replies
Dennis Koch
Dennis Koch2y ago
I am not sure but I think query tabs landed in v3. Otherwise you’d need to use a custom view
Kenneth Sese
Kenneth Sese2y ago
I know we already discussed, but I know an easy way😜😂
IndomieRendang
We've got a lot of sophisticated promises... but we don't know when they will come to us 💔 no pressure , but please don't offer or mention v3 if its release date isn't clear yet 😔
Dennis Koch
Dennis Koch2y ago
No pressure at all because we can’t change anything about it 😅
IndomieRendang
Almost every time someone talk about v3 will have this and solve that, I told my fingers to not typing rm -rf to my project... 😌
Crylar
CrylarOP2y ago
Yeh v3 has so many nice features. I wonder if migration from v2 to v3 will be hard once it lands? 🙂 Do you use a custom view to achieve this on filter sets? 😄
Kenneth Sese
Kenneth Sese2y ago
Yes
Crylar
CrylarOP2y ago
I still need to learn on how to extend through the views, or buy your plugin to learn. 😄
Kenneth Sese
Kenneth Sese2y ago
Well if you do, don’t study it too much…😂there’s a big refactor coming in the next few days to the views.
Crylar
CrylarOP2y ago
So probably worth to way, thank you for a heads up. 😅
VIIKKK
VIIKKK2y ago
If I have a searchbar, should i also incorporate that in a custom view if I want some buttons next to it? Or could i achieve this using actions?
Dan Harrin
Dan Harrin2y ago
use headerActions()
VIIKKK
VIIKKK2y ago
Can i find this in the docs?
Dan Harrin
Dan Harrin2y ago
is it a resource or a relation manager? or outside the admin panel?
VIIKKK
VIIKKK2y ago
It's outside the admin panel, I'm just using the table builder. And the search is implemted by just making some columns searchable.
Dan Harrin
Dan Harrin2y ago
you know how getTableActions() works? its the same thing as getTableHeaderActions() but header actions are displayed above the search input
VIIKKK
VIIKKK2y ago
Allright, that was perfect. I overlooked it in the docs. thank you!
Want results from more Discord servers?
Add your server