UNPKG

datatables.net-datetime

Version:

DateTime picker for DataTables.net

29 lines (17 loc) 582 B
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" table-class="display nowrap" order="1"> <css lib="datetime"/> <js lib="datatables datetime"> <![CDATA[ new DateTime(document.getElementById('test')); ]]> </js> <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="2026-01-30" /> </custom-table> </dt-example>