Ant Design Table Column Width Not Working
Leave at least one column s width to auto so that table can adjust it s width automatically.
Ant design table column width not working. Container width should not greater than table width. Even on adding width for all the columns the header body alignment breaks i have provided the width in since i need it to scale when the window is expanded or reduced. I m trying to add a table to my website where the column width is not simply determined by the text width and i saw on another website that you can do this in bootstrap using the same 12 cell system you use for grids. 2 3 3.
A fixed value which is greater than table width for scroll x is recommended. If specified width is not working or have gutter between columns please try to leave one column at least without width to fit fluid layout or make sure no long word to break table layout. I was able to fix the issue by setting a minwidth for the parent element. So that the table does not shrink beyond a particular size where the table starts breaking.