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
I am trying to make the table responsive to the browser dimension. I am setting a 'width' and a 'minWidth' to the columns and then if I shrink the browser I would expect that the table columns will also automatically resize until they reached the 'minWidth' value. I see that the columns are shrinking until they reach the value of the totalFlexWidth which is in fact the value if the 'width' property. Shouldn't the totalFlexWidth have the value of the 'minWidth' instead of the 'width'?
I know that when I define the columns I should just simply set the 'width' to a smaller value and then the table will auto-stretch because of the flexLayout. The reason why I am not doing so is because I had to make the react-table compatible with IE and in IE the columns are way more smaller than in chrome (Suppose the column width is converted into pixels).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am trying to make the table responsive to the browser dimension. I am setting a 'width' and a 'minWidth' to the columns and then if I shrink the browser I would expect that the table columns will also automatically resize until they reached the 'minWidth' value. I see that the columns are shrinking until they reach the value of the totalFlexWidth which is in fact the value if the 'width' property. Shouldn't the totalFlexWidth have the value of the 'minWidth' instead of the 'width'?
I know that when I define the columns I should just simply set the 'width' to a smaller value and then the table will auto-stretch because of the flexLayout. The reason why I am not doing so is because I had to make the react-table compatible with IE and in IE the columns are way more smaller than in chrome (Suppose the column width is converted into pixels).
Beta Was this translation helpful? Give feedback.
All reactions