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

    QTable Multiple Row Selection by dragging mouse to columns or rows

    Useful Tips (NEW)
    3
    9
    605
    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.
    • metalsadman
      metalsadman last edited by metalsadman

      Just made a codepen version https://codepen.io/metalsadman/pen/wvKPWov of QTable multiple selection from my codesandbox og version .
      12c7ab83-4ea5-4b0d-b006-280989046905-image.png
      d683c037-b8c7-49da-84dc-812fc39485e2-image.png
      I hope it helps someone, and maybe enhance it further.

      J 1 Reply Last reply Reply Quote 1
      • J
        jitendra16 @metalsadman last edited by

        @metalsadman Drag mouse from 1st to 5th then drag back from 5th to 1st, you will notice that 5th row remains selected but it should not be. Also selection is action like toggle but it should be selected for violet colour rows.

        metalsadman 1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman @jitendra16 last edited by metalsadman

          @jitendra16 said in QTable Multiple Row Selection by dragging mouse to columns or rows:

          @metalsadman Drag mouse from 1st to 5th then drag back from 5th to 1st, you will notice that 5th row remains selected but it should not be. Also selection is action like toggle but it should be selected for violet colour rows.

          updated*

          1 Reply Last reply Reply Quote 0
          • A
            afys last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • A
              afys last edited by

              hai. sorry for asking. how to take data from table to show in the Qcard ?for example, on the same page we create Qcard and output in the card also the data from that table. If the data on the table has 3 row, Qcard also has 3, followed by the table data . ?

              metalsadman 1 Reply Last reply Reply Quote 0
              • metalsadman
                metalsadman @afys last edited by

                @afys the rows selected is in your selected array, so that’s the data your qcard will use.

                1 Reply Last reply Reply Quote 0
                • A
                  afys last edited by

                  oh okay i will try . thanks ! but, i have try masonry like grid type (https://quasar.dev/vue-components/table#Example--Masonry-like-grid) which is qcard in table, and set the color for qcard. But i want make the qcard with different colour . It is possible ?if can, how ya?

                  metalsadman 1 Reply Last reply Reply Quote 0
                  • metalsadman
                    metalsadman @afys last edited by

                    @afys Please open a different thread or ask help in the discord channel, it’s not related to the OP. thx.

                    1 Reply Last reply Reply Quote 0
                    • A
                      afys last edited by

                      okayyy thanks ya .

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