openfun / cunningham

🎨 The Open FUN Design System
https://openfun.github.io/cunningham/
MIT License
23 stars 2 forks source link

🐛(react) allow to set column size for data grid without header #327

Closed jbpenrath closed 5 months ago

jbpenrath commented 6 months ago

Currently, to set the width of column we define a width to the corresponding header cell. But DataGrid components allows to not render header rows so in this case, the size is not set. In order to fix that, if header is not rendered, we set width of cell to the corresponding column.

Then release @openfun/cunningham-react 2.9.3

changeset-bot[bot] commented 6 months ago

⚠️ No Changeset found

Latest commit: 4a6a31b85c23e6472385b279f04fed17ad4730c5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR