read tablefilters inside a column

i need to read tableFilters inside a column component
8 Replies
Patrick Boivin
Patrick Boivin16mo ago
Can you share a bit more context? What have you tried already?
marco76tv
marco76tvOP16mo ago
I have a table containing the questions, so I created a custom column chart , the table filter shows me which rows of the questions.. but I also want to filter date from and date to ...
Patrick Boivin
Patrick Boivin16mo ago
Can you share a screenshot?
malebestia.
malebestia.16mo ago
malebestia.
malebestia.16mo ago
it's a table, but instead of the usual rows there are graphs for each question, derived from its answers. there is a first filter that lets me choose the working questionnaire then there are the date_from and date_to filters which currently don't work
Patrick Boivin
Patrick Boivin16mo ago
You guys working together? lol
marco76tv
marco76tvOP16mo ago
yes any suggestion ?
Patrick Boivin
Patrick Boivin16mo ago
In your custom column class, you can access the Page component like this:
$tableFilters = $this->getLivewire()->tableFilters;
$tableFilters = $this->getLivewire()->tableFilters;
If you need it in the Blade view, I think $this->tableFilters
Want results from more Discord servers?
Add your server