jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Get parent element's value

This topic contains 1 reply, has 1 voice, and was last updated by  ettemlevest 11 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Get parent element's value #50145

    ettemlevest
    Participant

    Hello

    I’m creating a small directory-like structure where you can drag a directory under another directory. When the dragging is finished I need the parent directories value field to save the changes in a database. After I catch the dragEnd event I try to get the dragged item’s (new) parent’s value. I did not find that in the dragEnd’s event variable. I also tried the getSelectedItem method but it’s parentElement.value gets 0 value every time.

    Thanks,
    Imre

    Get parent element's value #50155

    ettemlevest
    Participant

    In the documentation I found the jqxTree’s dragEnd callback function. Using that I can do everything that I wanted.

    Now I like jQWidgets even more 🙂

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

You must be logged in to reply to this topic.