This event lets you customize the grid mouse down behavior.

This is the default setting:

  • Standard mouse down: By default, mousedown event starts time range selecting (if it is enabled).
  • Shift + mouse down: If a rectangle selection is active (rectangleSelectHandling is set to a value other than "Disabled") and the users hold a Shift key, rectangle selecting is activated.

Related demo:




  • args.action - action to be started: "None" | "RectangleSelect" | "TimeRangeSelect"
  • args.button - the active mouse button: "left" | "right" (since version 2018.4.3438)
  • args.shift
  • args.ctrl
  • args.meta
  • args.originalEvent
  • args.preventDefault() - cancels the action (sets args.action to "None")