TreeDataGrid - Entirety of group row to trigger toggling
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start with the TreeDataGrid and the RowGrouping example linked in the issue, reproducing the behavior with a horizontally scrolled group row. Trace how clicking the first cell triggers toggling versus clicks on other cells; done means every cell in the group row toggles the group consistently.
Written by the indexing model from the issue text.
Description
Use case
When using the TreeDataGrid (latest version), I have to click on the first cell of the group row in order to toggle it. Clicking on the rest of the row (on any of the cells ) doesn't do anything.
This can be seen here: https://adazzle.github.io/react-data-grid/#/RowGrouping.
If I click on the cell of Zimbabwe, the toggle works as expected. However, if I click on any other cell, the toggle isn't triggered.
Proposed solution
I would like for the whole group row's cells to perhaps have the click handler to trigger the toggling.
Use case
This would be useful for big grids (on smaller screens), where horizontal scrolling takes place, and the initial group column goes out of view.
- Dominant language
- TypeScript
- Stars
- 7.7k
- Forks
- 2.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 30
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.
More from Comcast/react-data-grid
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Comcast/react-data-grid#4045 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Comcast/react-data-grid#4184 ·
-
Comcast/react-data-grid#4120 · 1 comment · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Comcast/react-data-grid#4004 · 4 comments ·
-
Pinned Rows API Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
Comcast/react-data-grid#3940 ·
All issues in Comcast/react-data-grid
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·