UNPKG

datatables.net-datetime

Version:

DateTime picker for DataTables.net

37 lines (22 loc) 647 B
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" table-class="display nowrap" order="1"> <css lib="datetime"/> <js lib="jquery datetime"> <![CDATA[ $('#test').dtDateTime(); ]]> </js> <js-vanilla> <![CDATA[ new DateTime(document.getElementById('test')); ]]> </js-vanilla> <title lib="DateTime">Basic initialisation</title> <info><![CDATA[ This is the `de-init dateTime` extension for DataTables. It is used to select dates throughout DataTables and it's extensions. See other examples for more detail. ]]></info> <custom-table> <input id="test" type="text" value="2020-01-17" /> </custom-table> </dt-example>