Solve the problem of ant-design table fixed rows and columns with more blank columns

1. Description of the problem
When using a table component and using a fixed column, you may encounter a problem that one more column will be blank when the content of your table header is smaller than the value you set.
Insert picture description here
2. To solve the above problems, we only need to dynamically determine when there are how many columns we need to fix the attribute of the column.
3.
Insert picture description here
4.Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45416217/article/details/110229554