-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[data grid] Implement server-side data source in tree data #3377
Comments
I would love to see this feature implemented. We currently are doing an infinite scroll grid in the pro version and have just seen the addition of the tree data and was wondering how we could make the two work together. Would you envision it would be possible to make it so that not ALL children have to be fetched on the expansion. We are likely to see some very large numbers of child rows (but only 1 level deep), so i'm just wondering if we could somehow make it so that we can retrieve the child rows as part of the infinite scroll. |
The next release will add #3604 which will help lazy loading, I will add an example in the doc of what can be done in your applications without any big changes on our side. But it will still have limitations. |
In #4851 we are talking about modifications on the internal state structure to be able to do lazy loading properly. |
Is there any estimated time when this will be added? |
We will need to make breaking changes to implement this one correctly |
@joserodolfofreitas Premium customer here. We need the lazy loading functionality asap. Developing a new application so happy to utilize something that has a breaking change in it. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Hi @flaviendelangle Would you be able to provide some insights on the progress of this issue? I know you guys have a lot of feature requests to handle. However, having a timeline will help us create our v6 upgrade roadmap as lazy loading children row is a major feature on our application where we are only fetching new rows when the user is expanding the parent class row due to the number of rows Any sort of update is helpful. Thank you so much |
Hi everyone, apologies for the delay on this one. There are a number of factors involved:
Can't say much about the delivery timeline, it had been one of the focus points in Q3 and we'll continue to focus on this in Q4 as well. I'm hopeful very soon there will be some considerable progress. 🤞
@Manisha11sep We have a way on our docs to implement this in userland, could that work for you meanwhile? |
+1 for premium customer waiting for this. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Pro customer, +1 for this! Tried the solution in https://mui.com/x/react-data-grid/tree-data/#children-lazy-loading but it doesn't work when paginationMode is set to server. Trying to add a workaround to this workaround which is to call updateRows only on handleExpansionChange, otherwise it calls |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Hie @MBilalShafi , I'm using the unstable_dataSource for the tree structure its working on my local but when deploying it on server im getting data from the api but no rows showing in the tree. Same is workin in the local. Can you please help me out with why its not working when deployed over server. |
Hi @KuberAroraVinove |
Part of #8179
This issue addresses the implementation of the server-side tree data in the Data Grid that comes under the umbrella of the data source.
The feature is available in the latest version of the Data Grid.
Check the official documentation here: https://mui.com/x/react-data-grid/server-side-data/tree-data/
The text was updated successfully, but these errors were encountered: