datatables.net-datetime
Version:
DateTime picker for DataTables.net
31 lines (26 loc) • 767 B
text/xml
<dt-option library="DateTime">
<name>showWeekNumber</name>
<summary>Whether the week number should be shown.</summary>
<since>DateTime 1.0.0</since>
<type type="boolean">
<description>
If `true`, the week number is shown. If `false`, it isn't.
</description>
</type>
<default value="false">
By default DateTime will not show the week numbers.
</default>
<description>
<![CDATA[
This options decides whether the ISO week number should be shown at the head of each row in the calendar.
]]>
</description>
<example title="Show the ISO week number"><![CDATA[
$(document).ready(function () {
new DateTime(document.getElementById('test'), {
showWeekNumber: true
});
});
]]></example>
</dt-option>