datatables.net-datetime
Version:
DateTime picker for DataTables.net
31 lines (23 loc) • 843 B
text/xml
<dt-option library="DateTime">
<name>buttons.selected</name>
<summary>Enable button move the current value into view</summary>
<since>DateTime 1.6.0</since>
<default value="false">
Button will not be shown.
</default>
<description>
When enabled, this option will cause DateTime to show a button that will shift the calendar display to the currently selected date when activated.
The text for the button can be set using `de-init i18n.selected`.
Note that the value of the field does not change when activating this button.
</description>
<example title="Enable today button"><![CDATA[
new DateTime(document.getElementById('test'), {
buttons: {
selected: true
}
});
]]></example>
<related>de-init buttons.clear</related>
<related>de-init buttons.today</related>
</dt-option>