You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
I can help with the server side implementation. But how would the client side look like? There is a DateRangePicker, but how would a numberrangepicker look like?
What do you think about this one with two input tags ?
I've all ready make this with an old Datatables version on CakePHP framework.
If that can help you a i can share this code ?
Feel free to open a PR ;)
I can help with the server side implementation. But how would the client side look like? There is a DateRangePicker, but how would a numberrangepicker look like?
What is a PR ? :(
Edit by Stephan: I've merged your comments, there is no need to place a new comment a minute after the other one.
And an idea could be to create a RangeFilter (abstract?) class and use it in DateRangeFilter and IntegerRangeFilter so that all shared code will not be duplicated.
And it will be easier in the future to add another range filter if required.
A "slider" filter existed before version 1.0, which was not ported in the v1.0 release. If anyone is interested in porting the filter, here is the link to v0.13: filter_slider.html.twig #346#548
Activity
stephanvierkant commentedon Sep 3, 2019
Interesting feature request! There is a DateRangePicker, but there is no NumberRange filter.
wash34000 commentedon Sep 3, 2019
I'll love it ...
stephanvierkant commentedon Sep 3, 2019
Feel free to open a PR ;)
I can help with the server side implementation. But how would the client side look like? There is a DateRangePicker, but how would a numberrangepicker look like?
wash34000 commentedon Sep 4, 2019
Like this.
What do you think about this one with two input tags ?
I've all ready make this with an old Datatables version on CakePHP framework.
If that can help you a i can share this code ?
What is a PR ? :(
Edit by Stephan: I've merged your comments, there is no need to place a new comment a minute after the other one.
stephanvierkant commentedon Sep 4, 2019
A PR is a Pull Request, but if you don't know what it is, I don't think you'll be able to create one ;).
If you take a look at this code, you'll see what the DateRange looks like: https://github.com/stwe/DatatablesBundle/blob/master/Datatable/Filter/DateRangeFilter.php. The NumberRangeFilter should look like this, except it uses numbers instead of dates.
Seb33300 commentedon Sep 4, 2019
And an idea could be to create a
RangeFilter(abstract?) class and use it inDateRangeFilterandIntegerRangeFilterso that all shared code will not be duplicated.And it will be easier in the future to add another range filter if required.
emullaraj commentedon Sep 21, 2019
A "slider" filter existed before version 1.0, which was not ported in the v1.0 release. If anyone is interested in porting the filter, here is the link to v0.13: filter_slider.html.twig
#346 #548