Reference: API
The DateTime picker for DataTables and its extensions has its own API which you can use to control the picker if you are embedding it into your own application. The API is accessed as methods on the result of using the new DateTime()
constructor - e.g.:
let picker = new DateTime(document.getElementById('myInput'));
You can then use methods such as picker.min(...);
.
Library | Name | Summary |
---|---|---|
DateTime Core | Set the formatting / parsing library to use. | |
DateTime Core | Destroy a DateTime control. | |
DateTime Core | Either sets the error message or removes it | |
DateTime Core | Hides the DateTime instance | |
DateTime Core | Set the max date for the DateTime instance | |
DateTime Core | Set the min date for the DateTime instance. | |
DateTime Core | Check if an element belongs to this control. | |
DateTime Core | Get / set the value of the DateTime instance. | |
DateTime Core | Get / set a formatted value for the instance. |