4

I've both slickgrid and jquery-ui libraries and is causing some problems. Without jquery.event.drag library (needed by slickgrid) it was working nicely.

I have a resizable and draggable div and I am using THREEDUBMEDIA's jquery.event.drag plugin.

When I try to resize the div it's doing drag&drop and resize too.

Did somebody had some trouble combining both libraries, can it be fixed?

fiddler example : fiddler

Levi
  • 657
  • 2
  • 6
  • 14

4 Answers4

1

The solution I found is to use older version of the jquery.event.drag libray.

I am now using:

  • jquery.event.drag 1.5
  • jquery 1.7.2
  • jquery-ui 1.10.3
  • SlickGrid 2.1

and it's working fine.

Levi
  • 657
  • 2
  • 6
  • 14
1

The real solution is to get jquery.event.drag and jquery-ui to resolve their incompatibility.

SlickGrid uses/requires jquery.event.drag, and there's good reason for it. It's dependency on jQuery UI is purely optional. jquery.event.drag is small, efficient, and is a much better fit for the functionality that I needed for SlickGrid. Switching to jQuery UI's drag/drop is out of the question, and implementing it directly is a step backwards.

Tin
  • 9,082
  • 2
  • 34
  • 32
0

Since you are using jQuery UI, why are you using another plugin for drag and drop features?

You can use and mix jQuery UI:

Forked demo: http://jsfiddle.net/IrvinDominin/5kn5S/

Irvin Dominin
  • 30,819
  • 9
  • 77
  • 111
  • 1
    I have to use that because I use SlickGrid which is not working without jquery.event.drag. – Levi Nov 12 '13 at 12:47
0

I ran today into the same issue. The answer must be to fix slickgrid. I.e. making it configurable, which plugin to use:

jquery.event.drag OR jquery-UI -- not both.

I opened this issue: https://github.com/mleibman/SlickGrid/issues/811

-- Sebastian

sebhaase
  • 564
  • 1
  • 6
  • 10