Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Distance for dragging #523

Merged
merged 1 commit into from

2 participants

@ckosmowski

Added distance to prevent users from unintended dragging of rows.

@ckosmowski ckosmowski Added distance for dragging rows
Added distance to prevent users from unintended dragging of rows.
1823d5a
@mleibman mleibman merged commit 12edd5a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 24, 2013
  1. @ckosmowski

    Added distance for dragging rows

    ckosmowski authored
    Added distance to prevent users from unintended dragging of rows.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  slick.grid.js
View
2  slick.grid.js
@@ -313,7 +313,7 @@ if (typeof Slick === "undefined") {
.bind("dblclick", handleDblClick)
.bind("contextmenu", handleContextMenu)
.bind("draginit", handleDragInit)
- .bind("dragstart", handleDragStart)
+ .bind("dragstart", {distance: 3}, handleDragStart)
.bind("drag", handleDrag)
.bind("dragend", handleDragEnd)
.delegate(".slick-cell", "mouseenter", handleMouseEnter)
Something went wrong with that request. Please try again.