datatables.net/datatables.net-datetime

DateTime picker for DataTables.net

Installs: 278

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 6

Forks: 4

Open Issues: 1

Language:JavaScript

1.5.4 2024-09-13 11:00 UTC

This package is auto-updated.

Last update: 2024-10-30 15:36:20 UTC


README

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.