Date picker (in-built) not working
Date picker (in-built) not working
alogg
Posts: 5Questions: 2Answers: 0
Hello,
I am trying to run the example Simple inline editing (http://editor.datatables.net/examples/inline-editing/simple.html) on my server, however, the date picker (in-built) does not work even though I have last version of Datatable Editor 1.4.2.
If you could advise what could possibly be the cause?
Thank you in advance.
This discussion has been closed.
Answers
There are effectively two date pickers built in. If your page has jQuery UI datePicker installed, it will automatically use that. If you don't have jQuery UI available on the page then it will default to use the HTML5
<input type="date">
input type. Only Chrome on the desktop currently supports that input type (frustratingly!).Allan
Hope you can fix it on other browsers quickly, it looks so nice! Thanks,
Alex
Unfortunately it isn't something that I would implement as part of Editor - it is part of the browser. Webkit and Firefox have outstanding bugs on it - I'm not sure what the state of play with IE is. To be honest, i don't understand why it isn't given more priority by the browser makers - it is extremely frustrating to need to include a library such as jQuery UI just to be able to get a calendar picker!
Allan