pnp / pnp/sp-dev-fx-controls-react
ListView Default Groups Collapsed Option
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Category
[X] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ "@pnp/spfx-controls-react": "1.17.0" ]
Expected / Desired Behavior / Question
Provide an option in the IGrouping[] items or the list view attributes to default all groups to be collapsed. Currently all groups are expanded when the list is rendered with no simple way to collapse them on render.
Contributor guide
No contributing guide indexed for this repository
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 ListView grouping API and the IGrouping[] items referenced in the issue to find where initial group expansion is configured. Done means callers can request that all groups start collapsed when the list renders, without needing a separate collapse action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100