Open
Description
Describe the bug
Using .updateConfig and afterwards .forceRender wont adjust the column width properly, compared to the initialization of the grid using .render
To Reproduce
Steps to reproduce the behavior:
- Initiailize a grid using new gridjs.Grid(...) and render ist using .render() --> column width is adjusted properly based on the cell content
- Change the data using .updateConfig(...) and then .forceRender() --> column width is the same for each column, text overflows etc., Sorting a colum by clicking on the column header sets the column width properly again.
Expected behavior
Column width should adjust or actually be the same as before using forceRender as the user does not expect the column width to change when the grid is updated. It should stay the same like before. And in particular, no text / cell content should overflow.