EasyUI Forum
May 31, 2024, 11:48:08 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Droppable exception  (Read 5284 times)
tomb
Newbie
*
Posts: 14


View Profile
« on: September 15, 2014, 10:05:58 AM »

I'm trying to get some sort of a "tree" with cascaded divs to work.  Ultimately, I want to be able to re-order the divs.  Right now I keep getting an exception whenever I try to drag a subitem, and I can't quite figure out, why.  I am guessing is that I have a draggable within another draggable object, and that's kind of what I want, but I suspect it is the cause of the issue as it only happens when trying to drag these items.

http://jsfiddle.net/jkgpsz03/2/

I appreciate any help or hints of what I might be doing wrong.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: September 15, 2014, 08:18:42 PM »

Please try the updated example http://jsfiddle.net/jkgpsz03/3/
Logged
tomb
Newbie
*
Posts: 14


View Profile
« Reply #2 on: September 17, 2014, 07:57:39 AM »

Thanks! So the problem was that the proxy had a draggable/droppable object attached to it, which is because it got cloned.  I changed my code to create a custom proxy that is the same as the element being dragged, except that it doesn't create a draggable/droppable object on the proxy.  It works now, thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!