Custom Column

Hi guys,
I would like to create a custom column value, but don't know how ? It's a "complex" query (and I have many like that), but don't know how to inject the code on it.

Tables\Columns\TextColumn::make('feedbacks_count')->formatStateUsing(fn (string $state): string => 'my_custom_query'),
Solution
Finally @awcodes I find the ->getStateUsing() method that work as well!
Was this page helpful?