Vue-good-table: Docs update

Created on 20 Jul 2018  路  3Comments  路  Source: xaksis/vue-good-table

Issue Type

Enhancement Request

Specs

VGT v2.11.0

Expected Behavior

Could you please update the docs so that people could find the right info there.

In the section of "Custom pagination" you need to add more information about how to use the provided props.pageChanged() and props.perPageChanged() because it will not work until you hit the source of VGT to fined out the write format of data you should provide for these two methods.

for pageChanged() the write format is { currentPage: this.currentPage }
for perPageChanged() the write format is { currentPerPage: this.currentPerPage}

enhancement

Most helpful comment

@enghelewa @VictorCazanave I had some time so I updated the documentation:
https://xaksis.github.io/vue-good-table/guide/advanced/#custom-pagination

closing.

All 3 comments

@enghelewa thanks for pointing this out. @VictorCazanave wanna take this one? If not, I'll see if I can do it when I get a few free cycles.

@xaksis Yes, I'll try to do it this week.

@enghelewa @VictorCazanave I had some time so I updated the documentation:
https://xaksis.github.io/vue-good-table/guide/advanced/#custom-pagination

closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tverilytt picture tverilytt  路  6Comments

mustfullDev picture mustfullDev  路  3Comments

sylvaincaillot picture sylvaincaillot  路  4Comments

oflittlemother picture oflittlemother  路  6Comments

luizzz picture luizzz  路  6Comments