lusaxweb / vuesax

New Framework Components for Vue.js 2
https://lusaxweb.github.io/vuesax/
MIT License
5.63k stars 744 forks source link

Table sst pagination with searching. #599

Open yash-habilelabs opened 5 years ago

yash-habilelabs commented 5 years ago

i want to use server-side-table with search at client side with the pagination handled through server. I have seen the example but the pagination is not working through server, and as per doc search is not possible at client side when sst is true.

kregielpl commented 4 years ago

Currenty searching is working fine instead of pagination. After select next page table won't load new data.

rhonalchirinos commented 4 years ago

this still doesn't work

ViacheslavZyrianov commented 4 years ago

Pagination still not working correctly

cagdaskarademir commented 4 years ago

Guys,

I think, I resolved pagination problem.

can you try @kregielpl

https://github.com/cagdaskarademir/vuesax/releases/tag/v3.8.15

ViacheslavZyrianov commented 4 years ago

@cagdaskarademir i am not using vuesax anymore :)

colzzky commented 4 years ago

Guys,

I think, I resolved pagination problem.

can you try @kregielpl

https://github.com/cagdaskarademir/vuesax/releases/tag/v3.8.15

This solved my problem! hope hope this gets pushed on the next update.. worked like a charm ;)

raphpacheco commented 4 years ago

this still doesn't work, up !

cagdaskarademir commented 4 years ago

can you add :sst="true" or sst="true" @raphpacheco.

TotalCount, Pagination is important. You have to set totalcount from api response total length.

for example :

` <vs-table :sst="true" class="mt-10" ref="table" :total="totalCount" pagination :max-items="paginationPageSize" :data="paymentMethods" @change-page="handleChangePage" @sort="handleSort"

`