angular / angular/components

help(MatTreeFlatDataSource): expandedData / flattenedData properties

Open
#23,049 5 comments 0 reactions 0 assignees View on GitHub
area: cdk/tree feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### 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](url)

#### Reproduction

NA

#### Environment

- Angular: 12.0.4
- CDK/Material: 12.0.4
- Browser(s): NA
- Operating System (e.g. Windows, macOS, Ubuntu): NA

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the MatTreeFlatDataSource API and the linked pull request 22340, which made expandedData and flattenedData private. Determine the intended public-access change and any required API coverage; done means the requested datasource data is accessible in a defined, tested way.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.