DevExtreme jQuery/JS - Control the Behavior

The DateBox widget 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 option. Note that this option 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