Tabs with dropdown
I have an ENUM as follows:
I want to use tabs above a table with all animals. Currently I'm doing it as follows (looks as in the screenshot):
It works but it gets quite lengthy as my animals table has lots of features.
1) Is there a way I could use a dropdown in the tabs called Size with values from the ENUM?
2) Instead of repeating the code for all different sizes, can I use the ENUM class in the modifyQueryUsing?
Solution:Jump to solution
Thanks. Implemented it and leaving it here for others:
```
public function getTabs(): array
{...
2 Replies