Replies: 1 comment
-
Sorry I miss this issue totally. I had updated GridTable plugin, to fix a bug of reset column-width. Here is a test case, line 115-116. var table = gridTable.getElement('table');
table.setColumnCount(1).updateTable(true); NPM package will upgrade at end of this month. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From example https://codepen.io/rexrainbow/pen/XyJbWX
On changing the column count from 2 to 1
The cells now take up 1/2 the width instead of filling the available width.
To get around this, I manually resized the underlying table
I find if I use proportionLength exactly, it seems to trigger a recalc to the 1/2 width state.
Is there a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions