Skip to content

Misleading information in docs #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
taurasOpen opened this issue Jul 24, 2020 · 1 comment
Open

Misleading information in docs #141

taurasOpen opened this issue Jul 24, 2020 · 1 comment

Comments

@taurasOpen
Copy link

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
Copy link

Thank you!!

Saved my day!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants