Editable cells in grouped rows

Open
#2,862 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reading the linked discussion at https://github.com/adazzle/react-data-grid/discussions/2674 and reproduce the grouped-row example described in this issue. Focus on whether the Year column can be edited when it is used for grouping and define the expected regrouping behavior after an edit. Done means the grouping key is editable and rows reorganize according to the entered value.

Written by the indexing model from the issue text.

Description

I would like to bring some attention to this discussion. I also would to be able to edit the cells that row groups are based off of. Is there a way to do this that I am not aware of?

Discussed in https://github.com/adazzle/react-data-grid/discussions/2674

Originally posted by cstehreem September 27, 2021
Hi,

Thank you for this wonderful grid implementation. I have been trying out its features and have hit a snag. I want to be able to edit the grouped rows but I'm not able to edit the cells which that the grouping is based off of.

image

Is there any way I can edit the Year column and have the rows reorganize based on whatever the user entered?

I'm using groupBy function from lodash to group the rows.

Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Comcast/react-data-grid

All issues in Comcast/react-data-grid

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.