[Feature] 希望能增加展开树形结构全部节点或者特定层级的方法
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
在某些场景下需要展开全部的树形节点,目前文档里只提供了展开某一个树节点的方法toggleHierarchyState,但该方法只能展开某一行的一个节点,希望能增加可以展开全部节点的方法
What does the proposed API look like?
增加类似toggleHierarchyAllState方法
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the documented toggleHierarchyState API and the surrounding tree-table documentation. Define how a new method should expand all nodes and how callers specify a particular level, then document the API and verify that its behavior matches those stated cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100