DataTable: lazy loading with paginator/sort/filter info

UI Components for Vue
Post Reply
Sellec
Posts: 2
Joined: 15 Jan 2020, 09:04

29 Jan 2020, 08:37

How to collect info about paginator state and filter/sort state of columns to make a complete ajax request?
We have onPage event with argument containing information about paginator state (current page, rows per page), but we need to manually take values from sortField and sortOrder properties to add this into request and make correct DB query.
Also, the information from filter fields need to be included into this argument becouse total rows count would be reduced after filtering on a DB level.

cagatay.civici
Prime
Posts: 18183
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

30 Jan 2020, 08:57

Enhancements is tracked at your issue;

https://github.com/primefaces/primevue/issues/163

Thank you.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest