Closed amks1 closed 1 year ago
pywebio will call gridOptions.columnApi.autoSizeAllColumns()
when the grid is ready, which will make the grid ignore the flex
setting on column.
I will consider to update code to disable auto size column when user provide column sizing settings.
As per the documentation here and here, the
flex
key should be able to resize the columns to fit the page width in proportion to the flex values given.Here's my code:
Here's the output:
As you can see, the flex values are not being considered. I also tried using
maxWidth
,minWidth
andwidth
values, and although there are some changes to the table sizes, it does not work as documented.Environment Information