Basic table component with action buttons (Beta 1)
-
I’d like to create a generic table component, i.e. simply binding :columns and :data and let the component do all the magic.
I now want to add multiple action buttons to each row (so select boxes no option here). I want to do this without needing to add slot templates: <template v-slot:body=“props”> for this would defy the purpose of being generic and I’d have to create templates for each table.
In short, I’d like to use the basic table from the docs and add three buttons at the end of each row with click event hooks passing on the row data.
Is there a possibility?