Skip to content

[RichTreeViewPro] Allow to auto-expand lazy loaded items#21759

Draft
flaviendelangle wants to merge 3 commits intomui:masterfrom
flaviendelangle:onItemsLazyLoaded
Draft

[RichTreeViewPro] Allow to auto-expand lazy loaded items#21759
flaviendelangle wants to merge 3 commits intomui:masterfrom
flaviendelangle:onItemsLazyLoaded

Conversation

@flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Mar 17, 2026

@flaviendelangle flaviendelangle self-assigned this Mar 17, 2026
@flaviendelangle flaviendelangle added plan: Pro Impact at least one Pro user. scope: scheduler Changes related to the scheduler. new feature labels Mar 17, 2026
* Set the cache entry for the given key.
* @param {string} key The key of type `string`
* @param {TreeViewItemMeta[]} value The value to be stored in the cache
* @param {T[]} value The value to be stored in the cache
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrongly typed, we store the items not the item meta in the cache

@flaviendelangle flaviendelangle added scope: tree view Changes related to the tree view. This includes TreeView, TreeItem. and removed scope: scheduler Changes related to the scheduler. labels Mar 17, 2026
@mui-bot
Copy link

mui-bot commented Mar 17, 2026

Deploy preview: https://deploy-preview-21759--material-ui-x.netlify.app/

Updated pages:

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 🔺+850B(+0.72%) 🔺+183B(+0.50%)

Details of bundle changes

Generated by 🚫 dangerJS against 186769e

@flaviendelangle flaviendelangle added type: new feature Expand the scope of the product to solve a new problem. and removed new feature labels Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plan: Pro Impact at least one Pro user. scope: tree view Changes related to the tree view. This includes TreeView, TreeItem. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tree view] lazy-loaded tree: auto-expand child nodes

2 participants