datatables.net-datetime
v1.5.4
Published
DateTime picker for DataTables.net
Downloads
25,323
Readme
DateTime picker
This library is a date and time picker that is available for use primarily in the DataTables.net software and its extensions. The library can also be used for other applications if required (for example if you are using DataTables else where in your application and you would like consistency for the date / time pickers used in your UI).
Installation
This library can be installed from npm using:
npm install --save datatables.net-datetime
Usage
Initialise on an input
element using:
new DateTime(document.getElementById('test'), {});
or jQuery style:
$('#test').dtDateTime();
Please refer to the DataTables site for a full description of options and API methods. A set of examples are also included.