jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: ListBox DragDrop Target ListBox DragDrop Target #100890

    jsmcneal
    Participant

    Greetings, Martin,

    Could you elaborate a bit further on your X and Y coordinate suggestion? Would I be using clientX and clientY to compute where the mouse pointer is located in relation to the jqxPanel?

    Here is something else I tried, but does not seem to work: I tried to attach an EventListener to my panel for mouseup event.

    $(‘#MyPanel’)[0].addEventListener(‘mouseup’, function (event)
    {
    setFlag = true;
    });
    It appears that the mouseup event does not fire when an object gets drag/drop into the panel. Does jqxlistBox block some events from firing?

    Thank you,
    jsmnceal

    in reply to: ListBox DragDrop Target ListBox DragDrop Target #100742

    jsmcneal
    Participant

    Hello Martin,

    I see your example is working fine with jQuery 2.3.1 and I concur that appears not to be my problem.

    My application is using jqwidgets v4.5.1. (April 2017).

    As it turns out, I won’t be able to upgrade jQuery or jqwidgets at this time because of the re-testing/re-integration effort involved on the software application that I am working on.

    Regards,
    jsmcneal

    in reply to: ListBox DragDrop Target ListBox DragDrop Target #100732

    jsmcneal
    Participant

    Thank you for the quick response, Martin.

    I do not see dropTargetElement when I open the event object in the debugger. This is what is available to me:
    _proto_
    label
    originalEvent
    owner
    value

    My application is running jQuery lib v2.1.3 which I suspect is my problem of not seeing dropTargetElement. If I can’t step up to v3.0+, is there any other property/method that I can use?

    Regards,
    jsmcneal

Viewing 3 posts - 1 through 3 (of 3 total)