-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Plugin itself fits my needs very well, however, i spent some time figuring out how to make it to work based on my needs. There is all info i need in docs, however docs is misleading and a bit hard to understand in first read.
scope
is now replaced with v-slot
, however slot-scope
also works but is deprecated.
Base initiation is working, however, when it comes to situation when i need to customise table, i found out, that this (custom template tutorial) have invalid or old information of misleading information.
<datatable>
<template scope="{ row, columns }">
// ...
</template>
</datatable>
Should be
<datatable :data="rows" :columns="columns" :filter="filter">
<template v-slot="{ row, columns }">
// ...
</template>
</datatable>
Docs is not mentioning that in that link, however.. i love this plugin.
PhelippFerreiraDaSilva, yeamin27 and Maelstromeous
Metadata
Metadata
Assignees
Labels
No labels