#Table colulmns only add when certain filters are applied
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
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.
Hey i believe you could use php ->visible(fn () => $this->tableFilters['filterName'])
or
->visible(fn () => $this->tableFilters['filterName'] && $this->tableFilters['filterName'] === 'filterValue')```
hi