You may be wondering, another data table library for vue, there are already so many that do their job well, why should I use a dm-datatable user?
Dm-Datatable was created with the purpose of being easy to use, we know that there are many libraries for vue, but many are complex to configure and others are very simple, where dm-datatable comes in.
Dm-Datatable was born with the purpose of learning from users' pain when working with table data and thus evolving, we count on the community's contribution to evolve.
According to usage and popularity, we will evolve to better documentation.
npm install vue-dm-datatable
import DmDatatable from "vue-dm-datatable";
import "vue-dm-datatable/dist/vue-dm-datatable.css";
<template>
<dm-datatable />
</template>
new Vue({
components: {
DmDatatable
}
})
All properties are being heard, if you need to change any of them according to the state of your application you have this option.
Name | Type | Default |
---|---|---|
columns | Show Model | [ ] |
rows | Show Model | [ ] |
totalByPage | number | 5 |
sort | boolean | false |
filter | boolean | false |
search | boolean | false |
info | boolean | false |
paginate | boolean | false |
loader | boolean | false |
showChildrenRows | boolean | false |
lang | Show Model | { } |
styles | Show Model | { } |
modelChildrenRow | Show Model | { } |
actionsRow | Show Model | { } |
- Editable row
- Ajax rendering
- Theme options