Put components in data table columns?
-
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?
-
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>