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

    Data Table - row class?

    Framework
    7
    12
    4509
    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.
    • G
      glittle last edited by

      Is there a way to set the css class for a row based on the row’s data object?

      rstoenescu 1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin @glittle last edited by

        @glittle For the entire row currently no.

        1 Reply Last reply Reply Quote 0
        • J
          johnorford last edited by

          This would be really nice (fwiw)

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            Will do.

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

              @glittle - would you be so kind and start an issue for this suggestion?

              https://github.com/quasarframework/quasar/issues/new

              Scott

              1 Reply Last reply Reply Quote 0
              • G
                glittle last edited by

                Done. See https://github.com/quasarframework/quasar/issues/464

                1 Reply Last reply Reply Quote 1
                • L
                  lvaylet last edited by

                  I am interested in this too. @glittle: were you able to come up with a workaround, like styling all cells in a row independently?

                  1 Reply Last reply Reply Quote 0
                  • rstoenescu
                    rstoenescu Admin last edited by

                    DataTable revamp is scheduled soon. Will include all DataTable github tickets currently opened.

                    1 Reply Last reply Reply Quote 0
                    • G
                      glittle last edited by

                      Glad to hear that the revamp will include this!

                      @lvaylet I simply rolled my own table with the rows how I needed them.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lvaylet @glittle last edited by lvaylet

                        @glittle: makes sense, thank you. I do not need all the features of the DataTable (like sorting and filtering) for my current project. I might be better off rolling my own table with a simple v-for too. I am still interested in this revamped version for other projects though.
                        @rstoenescu: any estimate on what “soon” means? 🙂 A few days? A few weeks? I know it is hard to tell. No pressure. I am just assessing whether I should work on other projects in the mean time.

                        1 Reply Last reply Reply Quote 0
                        • S
                          spectrolite last edited by

                          from what I’ve seen and heard, I’d say a couple of weeks + a few days 😸

                          1 Reply Last reply Reply Quote 0
                          • Y
                            y0ungnoble last edited by

                            Is it possible to add classes to rows yet? I actually want to add data attributes to the rows.

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