Filter table by year/month in specific column
Filter table by year/month in specific column
CNK
Posts: 2Questions: 1Answers: 0
Hello.
Could you tell me how I can add filter by month and year? I have two colums with dates (in format: dd.mm.yyyy like 08.01.2016). I tried to use plugin range_dates: http://datatables.net/plug-ins/filtering/row-based/range_dates#CDN but I have error:
Cannot read property 'value' of null in line: var iFini = document.getElementById('fini').value;
Can you help me? :)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Alternative solution can be achieved by my yadcf plugin, see showcase samples
http://yadcf-showcase.appspot.com/DOM_source.html
http://yadcf-showcase.appspot.com/dom_bootstrap.html
Ok, thx @daniel_r but how can I set other language to this plugin?
I tried http://stackoverflow.com/questions/494958/how-do-i-localize-the-jquery-ui-datepicker but it doesn't work.
Regards!
On SO it says to include the language file and to setup the global setDefaults, try to crete a jsbin/jsfiddle sample and show that it does not work for you on SO, if it works fine without yadcf and fail to work with yadcf let me know