jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Sorting inside a parent element

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Sorting inside a parent element #21807

    kabil
    Member

    Hello everyone,

    I want to add sorting algoirthm intto my jq tree plugin.

    I know how to do it but i could not make it work.

    on dragEnd event, draggedItem‘s parentElement has to be the dropItem (item has to be dropped into it’s parent item).

    Ex : item.element.parentElement == dropItem.element (dont know if it works)

    if true, i’ll get first level child items of dropItem in a loop and send my server side to sort them.

    Thanks.

    Sorting inside a parent element #21879

    Peter Stoev
    Keymaster

    Hi,

    1. That depends on when the event is raised and which is the parentElement when you drop the item.
    2. Sorting in jqxTree is currently not supported.

    Best Regards,
    Peter Stoev

    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.