angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.32k stars 6.73k forks source link

help(MatTreeFlatDataSource): expandedData / flattenedData properties #23049

Open JoeMellon opened 3 years ago

JoeMellon commented 3 years ago

What are you trying to do?

Access expandedData and flattenedData from the datasource.

What troubleshooting steps have you tried?

Both are private since https://github.com/angular/components/pull/22340

Reproduction

NA

Environment

crisbeto commented 3 years ago

I'll mark this as a feature request. It's worth noting that if a property name starts with an underscore (like with _expandedData and _flattenedData), it means that it's internal and it can change or be removed without any sort of deprecation period.

JoeMellon commented 3 years ago

@crisbeto Not sure if you can help but is there anyway around this for now to get that data? Thanks

JoeMellon commented 3 years ago

Never mind I made use of the expandFlattenedNodes method.

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.