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

    Extra class for td.

    Help
    1
    2
    109
    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.
    • S
      sssebaaa last edited by sssebaaa

      Hello,

      How to set extra table td class? I know about classes in column definition but it doesn’t works?

      <q-td :class="props.row.code"  key="code" :props="props">  
      

      it works but it code is in upper case, but i need in lower case.

      <q-td :class="props.row.code.toLowerCase();"  key="code" :props="props">  
      

      It doesnt works.

      If i set classes in:

      columns: [
        {
          name: "code",
          laebel: "Code",
          classess: "xxxxxxxxxxxxxxxx"
        }
      ]
      

      in table td cell doesnt have xxxxxxxxxxx class.

      This classes is for th not for td.

      How to do it?

      Regards

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

        <q-td :class="String(props.row.code).toLowerCase()"  key="code" :props="props">  
        

        It works.

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