UNPKG

datatables.net-datetime

Version:

DateTime picker for DataTables.net

27 lines (16 loc) 585 B
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" table-class="display nowrap" order="5"> <css lib="datetime"/> <js lib="datatables datetime"> <![CDATA[ new DateTime(document.getElementById('test')); ]]> </js> <title lib="DateTime">Hidden input</title> <info><![CDATA[ This example demonstrates DateTime being used with a hidden `-tag input`. The picker is shown on the page rather than being toggled by the click on an `-tag input` element. ]]></info> <custom-table> <input id="test" type="hidden" value="2026-01-30" /> </custom-table> </dt-example>