krizz3332
table filters update event
Since your asking about v2, for the reverse way check out this link: https://laraveldaily.com/post/filament-click-widget-auto-update-table-filterthis one works like charm. Implemented it in 5 minutes.
public function updatedTime()
{
$this->setDates($this->time);
$this->statisticData = GenerateAccountingDocumentStatistic::run($this->startDate, $this->endDate);
$this->emit("filterUpdate", ['startDate' => $this->startDate, 'endDate' => $this->endDate]);
}
just used the emit function of the updatedTime watch method.
And added the listener to the Invoices Table as suggested10 replies
Add tablefilter to querystring programatically
Hi thanks for your quick respond. Yes I just bought the plug-in , because I need favorites in other scenarios .
Yes I just read that developer filters won‘t set the filters , only the scopes.
But when I add global user filters for all it will sync with the filters right?
23 replies
Add tablefilter to querystring programatically
Or is there no easy way and I have to use something like this: https://filamentphp.com/plugins/kenneth-sese-filter-sets
?
23 replies