jQWidgets Forums

jQuery UI Widgets Forums Lists ListBox dropItem reordering info

This topic contains 1 reply, has 2 voices, and was last updated by  Stanislav 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • dropItem reordering info #99864

    brojgar
    Participant

    Hello,

    for listBox item reordering purposes I use:

    $("#jqxListBox").jqxListBox({ dragEnd: function (dragItem, dropItem {}});

    dropItem holds index of the target item but there is no way to tell if source item was placed before or after that item. Is there an easy way to get exact position after reordering using this method.

    Thanks,
    iztok

    dropItem reordering info #99868

    Stanislav
    Participant

    Hello iztok,

    Take a look at this demo: Drag and Drop
    More specifically at the ‘dragEnd’ logic.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.