Creating tables from scratch is a pain.
This is why there are many table plugins to let us add tables easily.
In this article, we’ll look at how to add tables to a Vue app with the vue-good-table plugin.
We can add columns that aren’t created from the properties of row objects.
For instance, we can write:
<template>
<div>
<vue-good-table :columns="columns" :rows="rows">
<template slot="table-row" slot-scope="props">
before
{{props.formattedRow[props.column.field]}}
</template>
</vue-good-table>
</div>
</template>
#programming #technology #javascript