Closed
Description
Describe the bug
Multiple server calls when sorting is enabled.
To Reproduce
Steps to reproduce the behavior:
- Go to https://gridjs.io/docs/examples/server-side-sort
- Open dev tools on the network tab.
- Use the sort on any column.
- See that the calls to the server are doubled when sorting.
- Comment out the
sort: false
on the images column. - Use the sort on any column.
- See that the calls to the server are tripled.
Expected behavior
The server calls should happen only once, independant of the number of column you can sort.
Desktop (please complete the following information):
- OS: Windows 11.
- Browser: Chrome
- Version: 113
Additional context
This can be problematic when dealing with a table that has 5+ columns that need to be sorted. The requests will be 5X more than needed!
Metadata
Metadata
Assignees
Labels
No labels