JavaScript/jQuery DateRangeBox - Control the Behavior

The DateRangeBox UI component allows users to type dates or pick them from a dropdown. The dropdown can display a single-month or two-month calendar. To use a single-month calendar, disable the multiView option. You can also specify whether date selection should take effect instantly or after a user clicks Done. Use the applyValueMode property.

JavaScript
  • $(function() {
  • $("#dateRangeBoxContainer").dxDateRangeBox({
  • multiView: false,
  • applyValueMode: "useButtons" // or "instantly"
  • });
  • });
See Also