Comcast / Comcast/react-data-grid

Enabling 'frozen' property breaks master/detail row functionality

Open
#3,705 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 2h
Merged PRs (30d)
33

Description

## Describe the bug

By adding **frozen: true** for any columns master/detail row functionality will be broken.
When expanding row, detail row content won't be rendered correctly.

## To Reproduce

1. In Master/Detail Row [example ](https://github.com/adazzle/react-data-grid/edit/main/website/routes/MasterDetail.lazy.tsx), after line 82 add new field:` frozen: true` to the first column definition.
2. run the sample app and go to master/detail row sample and expand one of rows.
3. Detail row content is broken

Link to code example:
[example](https://github.com/adazzle/react-data-grid/compare/main...hamed-mahdizadeh:react-data-grid:patch-1)

## Expected behavior
Freezing columns should not affect detail row functionality.

## Environment

- `react-data-grid` version: 7.0.0-beta.47
- `react`/`react-dom` version: 18.3.1

## Additional context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.