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
I am not sure but I think query tabs landed in v3. Otherwise you’d need to use a custom view
I know we already discussed, but I know an easy way😜😂
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 😔
No pressure at all because we can’t change anything about it 😅
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... 😌
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? 😄
Yes
I still need to learn on how to extend through the views, or buy your plugin to learn. 😄
Well if you do, don’t study it too much…😂there’s a big refactor coming in the next few days to the views.
So probably worth to way, thank you for a heads up. 😅
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?
use headerActions()
Can i find this in the docs?
is it a resource or a relation manager? or outside the admin panel?
It's outside the admin panel, I'm just using the table builder. And the search is implemted by just making some columns searchable.
you know how
getTableActions()
works?
its the same thing as getTableHeaderActions()
but header actions are displayed above the search inputAllright, that was perfect. I overlooked it in the docs. thank you!