You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you for this wonderful library! I'm planning to use this on one of my projects but there's one use case I am missing and was wondering if it could be added: server-side sorting.
The built-in client-side sorting is not usable for me because I need to sort the data on the server-side, so I need to be able to fire an HTTP request when a column is clicked to fetch my results again instead of having FDG sort them in place. I didn't see anything in the API that would allow me to do this. Is there already a way or is this not supported?
In the case it's not supported, can this be added in? I'm willing to contribute on this if you have no time to implement it yourself and can accept external contributions.
Cheers!
The text was updated successfully, but these errors were encountered:
Thank you very much. I hope this library will be useful to you.
I hadn't considered a server-side sorting use case. Without making big modifications to the library we could create an onSort callback that allows the user to fetch the data from the server and prevent the library from doing the sorting
That sounds good yeah :), I think that should be enough. Can't think of any edge cases off the top of my head but I can try the PR for the feature in my app before it's merged just to be sure.
Hello!
First of all thank you for this wonderful library! I'm planning to use this on one of my projects but there's one use case I am missing and was wondering if it could be added: server-side sorting.
The built-in client-side sorting is not usable for me because I need to sort the data on the server-side, so I need to be able to fire an HTTP request when a column is clicked to fetch my results again instead of having FDG sort them in place. I didn't see anything in the API that would allow me to do this. Is there already a way or is this not supported?
In the case it's not supported, can this be added in? I'm willing to contribute on this if you have no time to implement it yourself and can accept external contributions.
Cheers!
The text was updated successfully, but these errors were encountered: