jQWidgets Forums

jQuery UI Widgets Forums Vue Demo of dragging items from a grid to a tree?

This topic contains 3 replies, has 2 voices, and was last updated by  Martin 6 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

  • Lee Klaus
    Participant

    I’ve been reviewing your many demo’s of various widget functionality (great job by the way!), and I’m wondering if you have a demo that shows how to select multiple rows in a simple grid, and to then “drag” those items into a tree (while still leaving the item in the grid).

    A close analogy would be the msft Windows Explorer, where you have a tree on the left side, and a grid (of files, etc.) on the right side. Then…. having the ability to drag one or more items from the right side into an element in the tree.

    This is one of the final use cases I need to sort through before I can make a purchase decision. Any suggestions much appreciated!

    Thanks, Lee

    PS. Would like to do this with Vue versions of the widget library…


    Martin
    Participant

    Hello Lee,

    I have created an Example of how you can select multiple rows in a grid and drag them inside another widget while still leaving them in the grid, using Vue components.

    For dragging them to a jqxTree component, you need to add your logic for how you would create the hierarchy you want
    and then update the jqxTree with the corresponding source.

    If you need any additional help, we would be happy to assist you.

    Best Regards,
    Martin

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


    Lee Klaus
    Participant

    Thanks for this additional demo. This will be very helpful, I’m sure.

    I’d like to ask one clarifying question on the tree component: When I bind the tree source to a data structure that represents the tree, the data structure of the tree is not automatically updated when a node is added to that tree via the UI – is that an accurate statement?

    Thanks… Lee


    Martin
    Participant

    Hello Lee,

    Yes, that is right.
    The binding is one-way, so the source data would not update automatically.

    Best Regards,
    Martin

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

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

You must be logged in to reply to this topic.