livewire-datatables
livewire-datatables copied to clipboard
highlight search doesn't work on callback columns
Hello, I have this column
Column::callback(['min_distance'], function ($min_distance) {
return $min_distance . ' m.';
})->label('Trade area)
->searchable(),
But if I do a search, the result is displayed without highlighting

Is there any solution for this?
I am also facing a similar issue.
On the columns , where we have the callback the search is not working on those.
sample code:
Column::name('test') ->callback(['test'], function ($test) { return $test== 1 ? 'Test1' : 'Test2'; }) ->label('Test Type') ->searchable(), Now when searching for Test1 or Test2 the search doesn't work.
Any suggestions?
Any updates guys, I am still stuck with this issue? Please suggest!