Navigation

    Quasar Framework

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

    Drag and Drop - qTable

    Help
    3
    3
    495
    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.
    • T
      turigeza last edited by

      Hi,

      So I got to the stage I need to order data in qTable. (The same with qTree btw).
      I would like to sort the rows in the table.

      Has anybody managed to get one of the drag and drop libraries working with qTable ?
      If so which library have you used ? Would you have an example ?

      I had a go with
      https://kutlugsahin.github.io/vue-smooth-dnd/#/cards
      which on the surface the nicest I have found. But I have no slot for tbody so there is no way I can wrap it with the <Container> tag … anyway Any thoughts would be welcome.

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

        @turigeza Don’t have an answer for you but just wanted to say that drop and drop library looks very nice …

        1 Reply Last reply Reply Quote 0
        • B
          Boomer last edited by

          I was able to get DND in a table using these instructions: // ! OR https://www.freecodecamp.org/news/https-medium-com-nakayama-shingo-creating-responsive-tables-with-pure-css-using-the-grid-layout-module-8e0ea8f03e83/

          You DO have to set a :key as noted in one of the comments.

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