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

    Drag And Drop

    Useful Tips (NEW)
    13
    17
    12953
    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.
    • lalo.dev
      lalo.dev last edited by

      What a hell, this frame is amazing!!! but, the draggable and dropable component is missing!! 😞 pls!!!

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

        I heard rumor someone is working on it as an App Extension…

        digiproduct 1 Reply Last reply Reply Quote 1
        • digiproduct
          digiproduct @Hawkeye64 last edited by

          @Hawkeye64 said in Drag And Drop:

          I heard rumor someone is working on it as an App Extension…

          Hope to hear good news about this soon

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

            I believe Lucas Ban (@mesqueeb) is doing this. I’ll have to get in touch with him to see how it is going.

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

              @Hawkeye64 that would be great

              1 Reply Last reply Reply Quote 0
              • K
                krugeros last edited by

                https://github.com/mesqueeb/quasar-app-extension-draggable

                1 Reply Last reply Reply Quote 2
                • T
                  turigeza last edited by

                  This should really be part of Quasar I feel and not an extension. I am going to start bodging the drag and drop today into qTable to start with and then qTree. And many will end up doing the same because sooner or later you will need it. How else are you supposed to organise a tree for example ? There is not many other ways to do it.

                  S 1 Reply Last reply Reply Quote 2
                  • R
                    Robert last edited by

                    Agreed… it would be nice if Drag and Drop functionality was built into our components. I know most developers are going mobile but Quasar could really be a leader in the desktop space too.

                    1 Reply Last reply Reply Quote 0
                    • E
                      ekoster last edited by

                      Adding this to quasar will be nice, but could take same time to add it to all components. I just added vue-draggable to my project and it works as a charm. You can link it to all sorts of components. Currently I have it in a qlist to determine my sort sequence

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

                        Upvote for built-in draggable features, especially for lists and tables 😉

                        qyloxe 1 Reply Last reply Reply Quote 3
                        • qyloxe
                          qyloxe @DDP last edited by qyloxe

                          @DDP said in Drag And Drop:

                          Upvote for built-in draggable features, especially for lists and tables 😉

                          and q-tree and q-chips…

                          1 Reply Last reply Reply Quote 4
                          • S
                            Schwaller last edited by Schwaller

                            Currently not working on MacOS Safari so … not a real option yet but a great start 🙂 https://quasar-app-extension-draggable.netlify.com/#/

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

                              Hi everyone. I made the draggable extension for a project of mine about a year ago.

                              The downsides of my extension were:

                              • I only ever required being able to drag rows. Not “any component to any other location”.
                              • I never found out why it didn’t work on macOS
                              • I learned a lot since I first made it, and would do it all different now… 😛

                              The project is still a side project, and I plan to start working on it again somewhere this year. At that time I was planning to rewrite it from scratch with the new Vue 3 composition api; better separation of code; TypeScript.

                              But I think until that time many more devs need drag and drop for a variety of reasons, so I wanted to give some advice:

                              • Whenever you start building it, use the quasar-starter-kit-ui it’s really good for modular components complete with a demo project for you to HMR test your standalone component you’re building.
                              • When you start building the ui component, you can try to get ppl involved via discord so the community could work together.
                              • You’ll most likely track the mouse position to calculate the css of the element you’re dragging, to calculate where to drop the element and how the UI should look, I’d suggest try using the on-mouseover directive.
                              • Try to immediately set up a demo with numerous test items to drag. To see if it’s performant. I had a problem where it became slow after 300+ items, but it was too late because I always tested with about 10 items.
                              1 Reply Last reply Reply Quote 1
                              • mesqueeb
                                mesqueeb last edited by

                                Just FYI,
                                I recently found this very promising vue library to add drag and drop functionality:
                                https://github.com/kutlugsahin/smooth-dnd

                                It seems very easy and powerful.
                                I’m trying to play around with it now.

                                1 Reply Last reply Reply Quote 0
                                • Pratik Patel
                                  Pratik Patel last edited by

                                  Currently WIP - https://github.com/pratik227/quasar-qgrid

                                  Demo - https://quasar-qgrid.netlify.com

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Serhioromano @turigeza last edited by

                                    @turigeza Any success on your work?

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

                                      @Serhioromano In short no. : )
                                      The table I have rewritten from scratch there are too many things missing for me or was at the time. (But I am not using it after all because I am not using tables at all with my current project)

                                      With the tree I have tried to recreate the look of a tree with the https://quasar.dev/vue-components/expansion-item. And it sort of worked : ) But it was way too slow … So I am not using that either. I still have to solve this issue (I am working on something else just now)

                                      I ended up creating a feature request because I thought it would benefit everyone:
                                      https://github.com/quasarframework/quasar/issues/5890

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post