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

    [SOLVED] How to hide SELECT ALL chekbox whithin q-table

    Help
    4
    9
    753
    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.
    • N
      nobilik last edited by nobilik

      Hi! I’ve found this post, but it seems bit outdated. I can’t do it this way. I need to disable or hide “select all” checkbox, so user can select rows just one by one.

      By the way, I also can’t understand how to do this with any of row? What is a body-cell-name for the selection column?
      Help please!

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        So you want multiple selection, but without being able to select all rows at once?

        Scott

        N 1 Reply Last reply Reply Quote 0
        • N
          nobilik @s.molinari last edited by

          @s-molinari It’s correct. And I want to disable row checkbox by some condition

          metalsadman 1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            I think you might need to build it yourself. Something like this.

            https://codepen.io/smolinari/pen/vYNgjKV?editors=1010

            Scott

            1 Reply Last reply Reply Quote 0
            • s.molinari
              s.molinari last edited by

              I’ll leave that one up to you. 😉

              Scott

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

                @nobilik you can also take this example https://quasar.dev/vue-components/table#Example--External-expansion-model, and go on about it by https://codepen.io/metalsadman/pen/bGVgxPw.

                1 Reply Last reply Reply Quote 0
                • N
                  nobilik @s.molinari last edited by

                  @s-molinari Thanks, it works. But I have problem with reactivity, because data comes from API, so I need to add the “checked” column to rows… However, this time I did it on the server side, but it’s not right way. Can you advise me about right way to do it?

                  qyloxe 1 Reply Last reply Reply Quote 0
                  • qyloxe
                    qyloxe @nobilik last edited by

                    @nobilik if you need more serious datasets, synced with server, reactive, queryable, then instead of inventing just another wheel, it is easier to use something like this:
                    https://vuex-orm.org/guide/prologue/what-is-vuex-orm.html

                    the main advantage is that this library normalizes the structured data from the server, and because of that, all your data could be reactice …and queryable, sortable, searchable, filterable, eeee all -ables.

                    1 Reply Last reply Reply Quote 0
                    • N
                      nobilik last edited by

                      Thanks to all! solved

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