0

I have column

Tables\Columns\TextColumn::make('Hesablama')
->getStateUsing(function(Expense $record) {
$totalAmount = $record->getTotalAmount();
return $totalAmount;
})

What can I do to reload the data when this value changes when I search or filter?

I came across an Ajax solution. But I don't know where to apply it.

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jun 09 '23 at 08:22
  • is this what you [want](https://filamentphp.com/docs/2.x/forms/advanced#reloading-the-form-when-a-field-is-updated)? – francisco Jun 09 '23 at 10:10
  • I need when the table filtered , The result obtained from there also changes the table, but I want to reload the data after the filter. Because I have a column from which I get Sum() . it doesn't update when you filter it shows the Sum() response of the general table – TheBabayeff Jun 10 '23 at 17:30
  • @TheBabayeff Did you find a solution? I am running into the same issue – RawSlugs Jun 27 '23 at 17:18

0 Answers0