v1 to v3
This fonction execist in v1 pls enyone can help my for v3
Tables\Columns\TextColumn::make('Books')->getValueUsing(
function ($author) {
return (string)$author->books()->count();
}
),
1 Reply
Use
->state()
method like here
https://filamentphp.com/docs/3.x/tables/columns/text#displaying-the-row-index