jQWidgets Forums
Forum Replies Created
-
Author
-
October 22, 2013 at 1:48 pm in reply to: Drag&drop, Sort,… combined question Drag&drop, Sort,… combined question #31194
Hello Dimitar,
we found that this solution is not working in all cases.
When catching endDrag for listbox A with$("#listBoxA").jqxListBox({ allowDrop: true, allowDrag: true, source: data1, width: 200, height: 250, theme: theme, dragEnd: function (dragItem, dropItem) { var dropListId = dropItem.element.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.id; if (dropListId == "listBoxA") { return false; }; } });
it is not possible to drop to an empty listbox B or within the lower area of box B.
In all these cases the determined dropListId is the ID of listbox A.Trying to catch the complete Event also does not lead to a usable solution because listbox B is never mentioned in these data.
jQuery("#listBoxA").on('dragEnd', function (event) { var args = event.args; console.log(event); console.log(args); });
With all possibilities we tested with the API it seems not to be possible to determine the corrent target.
Can you please help again.
Best Regards
ThomasOctober 22, 2013 at 7:38 am in reply to: Drag&drop, Sort,… combined question Drag&drop, Sort,… combined question #31168Hello Dimitar,
thank you very much for your support.Works like a charm.
Best Regards
ThomasOctober 20, 2013 at 7:36 pm in reply to: beforeLoadComplete does not fire beforeLoadComplete does not fire #31066Hi Peter,
can you tell me what’s the missing link here?
Is it JSON as data source?
With your demos the callback seems to work. But i found only examples with arrays as input.When do you plan to fix this? We are currently evaluating the commercial version for one of our projects. And have to deliver a prototype shortly.
Best Regards
Thomas -
AuthorPosts