#Can i access $search value live in a table column?

3 messages · Page 1 of 1 (latest)

stark mason
#

Based on a search I need to display one table column which by default is hidden, is it possible to do that?

fallen wrenBOT
#

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

vague bane
#

Perhaps you could try something like:

TextColumn::make('xxx')
    ->visible(function ($livewire) {
        return $livewire->tableSearch;
    }),

🤔