#Table colulmns only add when certain filters are applied

4 messages · Page 1 of 1 (latest)

dusky shoal
#

I want to show certain columns from pivot table, but it only makes sense when filters are applied or else I run into the situation in my other post where I have to select the first one in the pivot table.

hot pelicanBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

faint stone
#

Hey i believe you could use php ->visible(fn () => $this->tableFilters['filterName'])
or

->visible(fn () => $this->tableFilters['filterName'] && $this->tableFilters['filterName'] === 'filterValue')```
cunning flower
#

hi