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

    Setting Column Widths in Data Table?

    Framework
    2
    2
    1419
    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.
    • K
      kerbo last edited by

      How do you adjust the column widths in a data table?

      I was able to create a table with enterable cells using q-input but the column widths are all the same. For a table, some columns need to wider than others. This should be easy to configure.

      1 Reply Last reply Reply Quote 0
      • K
        KevinYang last edited by Shone

        try something like this:

        <q-tr slot="body" slot-scope="props" :props="props">
                      <q-td key="id" :props="props">
                        <q-input style="width: auto; min-width: 100px" />
                      </q-td>
        </q-tr>
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post