showWeekNumber
Since: DateTime 1.0.0
Whether the week number should be shown.
Please note - this property requires the DateTime extension for DataTables.
Description
This options decides whether the ISO week number should be shown at the head of each row in the calendar.
Type
Default
- Value:
false
By default DateTime will not show the week numbers.
Example
Show the ISO week number:
$(document).ready(function () {
new DateTime(document.getElementById('test'), {
showWeekNumber: true
});
});