You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @shyzw
The custom column width is reset because the component re-renders when the table's children are changed. In order to save the column width, you can get the column width through the column's onResize callback, save it in the state, and let the column width be controlled.
Versions
react
17.0.2
rsuite-table
5.7.1
What is the expected behavior?
The column keeps width after checking cell.
What is the current behavior?
The column width is reset after checking cell.
What are the steps to reproduce?
https://codesandbox.io/s/rlb2cs
Table.-.React.Suite.mp4
Any additional comments? (optional)
The text was updated successfully, but these errors were encountered: