Can searchCols in dataTable accept Date range?
Can searchCols in dataTable accept Date range?
litlitDM
Posts: 1Questions: 1Answers: 0
Good morning,
is it possible for searchCols to use date range as initial filtering of the table.? I want to load only data which is from date_today onwards.. i have this example https://jsfiddle.net/z7oaxdcy/3/
for clarification, this is in the initial loading of the page and no filtering is triggered yet.
this is my dataTable code that i have done so far..
$('#movie_table').DataTable({
'searchCols': [
null,
null,
null,
null,
{ 'sSearch': '2016-02-18 13:42' }, //instead for searching a string in sSearch, is it posible for a date range.?
null
]
});
i want it to load for the date_today onwards.. is there any possible ways to do this..
This discussion has been closed.