-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Server side paging, filtering, sorting feature #64
Comments
+1 any idea on when this will be completed? |
Hi @jakeleventhal, Nowadays i am working very hard for another project. But i will do this as soon as possible. Please star project and wait for next releases. Also why don't you fork this project and contribute it. |
I'm a very busy guy haha I can wait. Thanks for all the effort though. |
This feature would be super useful for a project im doing. Any heads up on when this will be implemented? |
Hi @IllusiveBagel , I am working on grouping feature now. I think i can start this feature after 1 months. |
Ok thanks @mbrn, Is there any way of tricking it until you add that? e.g adding my own pagination on top? (Sorry I know probably not the right place to chat about this) |
No problem. You may override the Components. But this would not be an effective solution. https://mbrn.github.io/material-table/#/docz-examples-10-example-component-overriding |
ahh ok cool thanks this will be a good enough solution for now |
I have implemented server side implementation by adding custom handlers for pagesize, page change, searching, sorting, filtering. I can use that until the server side events are implemented as part of material table. Once available I can remove my custom code. For now I am able to manage without any issues |
Is there a way to use |
@roseak , unfortunately for now. |
I have implemented server side sort by overriding the onOrderChange prop, I had written by custom implementation onOrderChange={this.handleOrderChange}, Sample code: queryString() {
|
This is done. You can download 1.21.0. Try it: https://mbrn.github.io/material-table/#/docz-examples-14-example-remote-data |
Is it possible to sort and filter server side? Or is it just pagination server side? |
Hi @roseak , It supports search, pagination and sort for now. I will add filtering this weekend. |
@mbrn Is there any update ? |
Sorry, i have forgotten add a comment here:). query already has a filters field. |
Hi @mbrn , how to use the server-side filtering? I didn't find an example in: https://mbrn.github.io/material-table |
Any news about an example for server side filtering? |
HI @mbrn! Thanks for the great project, but maybe you have any example of how to use server-side pagination? |
Hi @sergeycw, Did you check these examples?: https://material-table.com/#/docs/features/remote-data |
It would be great if we have an example for filtering server. |
I guess you have to send the filtering params from the |
@mbrn Thank you for your response.
and it's not working for me. are you have any solution to prevent default client-side sorting? |
I managed to disable client-side sorting by adding this to each column: |
Add Server side paging, filtering, sorting feature
The text was updated successfully, but these errors were encountered: