Skip to content

Misleading information in docs #141

@kTauras

Description

@kTauras

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions