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

    Put components in data table columns?

    Help
    1
    2
    362
    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.
    • Z
      Zyme last edited by Zyme

      Is there a way to put component in data table?

      For example a q-btn in one of the columns that I can click on?

      1 Reply Last reply Reply Quote 0
      • Z
        Zyme last edited by

        Solved it with:

        <!-- slot name syntax: body-cell-<column_name> -->
          <q-td slot="body-cell-desc" slot-scope="props" :props="props">
            <q-chip small color="secondary">{{ props.value }}</q-chip>
          </q-td>
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post