jQWidgets Forums
Forum Replies Created
-
Author
-
October 1, 2012 at 2:39 pm in reply to: jqxDropDownButton: Dynamically enable/disable jqxDropDownButton: Dynamically enable/disable #8761
Great. Thanks!
September 25, 2012 at 2:09 pm in reply to: Updating a treeview node label Updating a treeview node label #8433Awesome! Thanks!
September 24, 2012 at 11:59 am in reply to: Updating a treeview node label Updating a treeview node label #8373Ok, so I’ll have to reload the entire treeview to see the change, correct? Or could I remove the old one and insert a new one (with the updated label) in the exact same spot — even if it’s in the middle of other nodes?
September 21, 2012 at 12:44 pm in reply to: Different event signatures for dragEnd event Different event signatures for dragEnd event #8309Ah, I see. Thanks Peter!
Out of curiosity, which one is called first — the function or the event? Or is it indeterminate?
September 17, 2012 at 4:54 pm in reply to: Rolling back a drag operation Rolling back a drag operation #8065Peter,
Your demo code works to prevent dropping of nodes onto a particular node. Thanks!
September 17, 2012 at 12:57 pm in reply to: Rolling back a drag operation Rolling back a drag operation #8051Peter,
I understand the point of the demo Dimitar referenced. The point of my reply was that it didn’t work. Have you tried actually using the live demo on the website that is supposed to prevent dropping on to the ‘Forum’ item?
I’ll try your sample code to see if that works.
Thanks.
September 13, 2012 at 6:23 pm in reply to: Rolling back a drag operation Rolling back a drag operation #7915I downloaded 2.4.2 and it still doesn’t work. Returning false has no effect. Also, none of the undocumented parameters of the dragEnd function handler were defined.
I just clicked on the link to the demo for drag and drop where dropping onto ‘Forum’ is supposed to be prohibited yet it worked for me (using FireFox 15.0.1).
Does this mean this is a feature that is planned but not yet implemented?
September 12, 2012 at 6:06 pm in reply to: Rolling back a drag operation Rolling back a drag operation #7834Thanks. I’m running 2.3.1 and returning false does not work. What version added support for canceling a drag?
And is there any documentation on the new parameters in the ‘dragEnd’ event? The online documentation only describes a single ‘event’ parameter.
August 28, 2012 at 2:55 pm in reply to: Determine target of drag/drop Determine target of drag/drop #7216[Answering my own post but would like confirmation that this is the way to do it]
Seems like this works in the dragEnd event:
var element = $(event.args.originalEvent.element).parents('li:first');
alert('dragged id: ' + element.attr('id'));
alert('new parent id: ' + element.parents('li').attr('id'));
alert('position: ' + element.index()); -
AuthorPosts