MedicOneSystems / livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS
https://livewire-datatables.com/
MIT License
1.19k stars 258 forks source link

Possible to have a custom dropdown which has a call-back across different columns #482

Closed grafxflow closed 2 years ago

grafxflow commented 2 years ago

I was wanting to know if a custom dropdown/select can contain several manual options which relate to no column of the database such as:

And then have a callback based on these that could filter the results but using different columns of the database.

Active Queries the date column 'ends_at' >

Ended Queries the date column 'ends_at' <

Canceled Queries the date column 'canceled_at'

--

Or can I use the above dropdown/select options and then have them effect the query in the builder function?