How using range datepicker jquery UI to filter datatable boostrap4 ?
How using range datepicker jquery UI to filter datatable boostrap4 ?

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This discussion has been closed.
Replies
I could not get it work with Editor:: library b/c I needed to do BETWEEN SQL queries, so went with the SSP:: library. Note: the json structure between the two libraries are different.
There is a weird bug that's causing the pagination to get lost after the second date pick.
This occurs if responsive: true
While we don’t have a BETWEEN method for the Editor libraries, you could readily use a greater than and less than condition - e.g.:
I’d also suggest not building a new DataTable on every date selection - just call
draw()
on an existing table to have it redraw (and refilter).ajax.data
can be given as a function to recalculate the values to send to the server on each draw (when using server-side processing).Allan
Thanks Alan. That fixed the responsive related error.