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 row class

    Framework
    2
    2
    496
    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.
    • P
      Pedro last edited by

      I saw a 2017 post about this subject but couldn’t find any info on docs about this.
      Is it possible to add a class to a row depending on a column value ?
      I need to set different row background color depending on column value.

      Tks
      Pedro Oliveira

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

        @Pedro use qtable slots computed/conditional classes based on row data and so many possibilities etc. etc…

        https://codepen.io/metalsadman/pen/MWWZpzG

        https://codepen.io/metalsadman/pen/BaaVbem

        https://codepen.io/metalsadman/pen/ZEYMOpP

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