react-data-grid
react-data-grid copied to clipboard
Column Width Resize Bug
Hi, I have found a bug where every time I manually resize a column and then update the grid column props (changing the width), the width doesn't change. It seems as if the the grid only listens to that width property when you haven't manually resized it.
Steps To Reproduce:
- set the column width from props e.g.
columns = [{
...
resizable: true,
width: 200,
},...]
- manually resize the grid with your mouse
- update grid props (changing the width property)
Expected: column widths should change accordingly Actual behaviour: the column widths stay the same, completely ignoring the width property
I am using react-data-grid version 7.0.0-canary.47, react/react-dom version ^16.13.1
is it possible to get this looked at urgently please?
Hello! we have a similar problem. Is there any deadline for a decision?
Duplicate issue https://github.com/adazzle/react-data-grid/issues/2042