No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Quasar App Extension QDraggableTree

    Useful Tips (NEW)
    5
    12
    1402
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mayank091193
      mayank091193 last edited by

      I just released the new quasar extension QDraggableTree. It allows you to drag and drop the nodes in the Quasar QTree.

      Github: https://github.com/mayank091193/quasar-draggable-tree

      Demo: https://quasar-draggable-tree.netlify.com/docs

      1 Reply Last reply Reply Quote 5
      • Hawkeye64
        Hawkeye64 last edited by

        Good job!

        1 Reply Last reply Reply Quote 0
        • mayank091193
          mayank091193 last edited by

          Thanks a lot!

          1 Reply Last reply Reply Quote 0
          • CWoodman
            CWoodman last edited by

            Fantastic! Just what we needed!
            Suggestion for small improvement…
            When a child node is dragged onto a parent which is not expanded, auto expand the parent and add the child. Currently the child becomes a new parent level node when it’s dropped.

            1 Reply Last reply Reply Quote 0
            • CWoodman
              CWoodman last edited by

              Also, there doesn’t seem to be a way to select a node. Tried :selected.sync=“selected” as for native q-tree but doesn’t do anything.

              mayank091193 1 Reply Last reply Reply Quote 0
              • T
                turigeza last edited by

                It isn’t mobile optimised. : ( I think you should put that on the front page. Saves time for a lot of people. And the transitions are buggy. Also worth mentioning that if I am correct this component does not use q-tree !? If so don’t expect exactly the same functionality as documented in the Quasar docs.

                1 Reply Last reply Reply Quote 0
                • mayank091193
                  mayank091193 last edited by

                  Thanks for writing. Yes, you are right. It doesn’t use q-tree directly but it does use its classes. I have noted the feedback from you and other users and I will consider all those in the next version.

                  1 Reply Last reply Reply Quote 1
                  • mayank091193
                    mayank091193 @CWoodman last edited by

                    @CWoodman I will consider your points while building the new version.

                    1 Reply Last reply Reply Quote 0
                    • mayank091193
                      mayank091193 last edited by

                      In case you want the QDraggableTree Codepan example. I have fixed a few things as well which I’ll update in the NPM package soon.

                      https://codepen.io/mayank091193/pen/pogEjVK

                      dobbel 1 Reply Last reply Reply Quote 0
                      • dobbel
                        dobbel @mayank091193 last edited by

                        @mayank091193 Great component! Is it mobile/touch compatible?

                        mayank091193 1 Reply Last reply Reply Quote 0
                        • mayank091193
                          mayank091193 @dobbel last edited by

                          @dobbel Well, I have used vuedraggable in the component and it is touch compatible. So ideally it should work fine on mobile devices as well. I had performed basic testing on the mobile device and it was working fine.

                          Please note, this is the initial version and you may not find the required features. Sorry about that. I’ll be adding more features in future releases.

                          1 Reply Last reply Reply Quote 0
                          • mayank091193
                            mayank091193 last edited by

                            QDraggableTree v0.0.3 has been released!

                            • Fixed the dragging issue
                            • Small improvements
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post