Is it possible to use the built-in Datetime picker outside of a Datatable
Is it possible to use the built-in Datetime picker outside of a Datatable
I love the look of the datetime picker within the custom search builder.
I would like to use this same datetime picker throughout my site to keep the same theme for users. Is it possible to wire the built-in datetime picker to a standard input that is not within a DataTable? If so, how can that be done? If no, is there a 3rd party library that closely matches the time picker functionality?
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/jszip-2.5.0/dt-1.11.3/b-2.0.1/b-colvis-2.0.1/b-html5-2.0.1/b-print-2.0.1/date-1.1.1/fh-3.2.0/r-2.2.9/sb-1.2.2/sp-1.4.0/sl-1.3.3/datatables.min.css" />
<input class="form-control dtsb-value dtsb-input" autocomplete="off">
This question has an accepted answers - jump to answer
Answers
Yes, it has recently been setup as a standalone extension. See the docs here and an example.
Kevin
Excellent! Thank you.