Whats the best way to show/hide a table column based on the tab selected? #14787
-
I feel like i've had this issue a bunch and never figured it out fully. Basically you have a resource, and in your ListRecords class you define some tabs right. But what if on your table, you want to conditionally show columns based on the selected tab? You can use Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
leandrocfe
Nov 13, 2024
Replies: 1 comment 1 reply
-
Inject |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rappasoft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inject
$livewire
and use$livewire->activeTab