How to set TextColumn isHidden / Disabled but searchable?

Hello there, please help me. How to set TextColumn isHidden / Disabled but searchable? here is my code:
TextColumn::make('brand.name')
->searchable()
->sortable()
->hidden(),
TextColumn::make('brand.name')
->searchable()
->sortable()
->hidden(),
hide, but can't search. where did i missed? thankyou
1 Reply

Did you find this page helpful?