Setting Column Widths in Data Table?

  • 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.

  • 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" />

Log in to reply