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.
DataTable: lazy loading with paginator/sort/filter info
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
-
- Posts: 1
- Joined: 19 Dec 2020, 00:20
Is this implemented. On github i just see its closed and docs do not mention how to aggregate this data. Also is there a more complete example as docs state "a more enhanced example with a backend is being worked on and will be available at a github repository"
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests