JavaScript/jQuery DateBox - Control the Behavior

The DateBox UI component allows an end user to pick or type a value. To specify whether the value should be applied instantly or when a user clicks the Done button, set the applyValueMode property. Note that this property takes effect only when the pickerType is "calendar" or "list".

JavaScript
  • $(function() {
  • $("#dateBoxContainer").dxDateBox({
  • value: new Date(),
  • type: "date",
  • pickerType: "calendar",
  • applyValueMode: "useButtons" // or "instantly"
  • });
  • });
See Also