We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
创建列:
<BasicTable @register="registerTable"> function getTestColumns(): BasicColumn[] { let columns = [] for (let i = 0; i < 20; i++) { columns.push({ title: 't' + i, width: 40, dataIndex: 'test' + i, defaultHidden: i % 2 === 0, }) } return columns } const [registerTable] = useTable({ api: pandectApi, columns: getTestColumns(), bordered: true, })
首次显示,有横向进度条 勾选t0后,列宽重新计算 将t3,t5左fixed,这种情况下无论如何操作都出现空列 留一列不设置宽度
function getTestColumns(): BasicColumn[] { let columns = [] columns.push({ title: 't', dataIndex: 'test', }) for (let i = 0; i < 20; i++) { columns.push({ title: 't' + i, width: Math.max(40, i * 10), dataIndex: 'test' + i, defaultHidden: i % 2 === 0, }) } return columns }
首次显示,t列宽度占满表格 勾选t0后列表显示正常,fixed功能也正常 在设置fixed后希望重新点击显示/隐藏列还能保留设置的fixed状态 大佬辛苦~
The text was updated successfully, but these errors were encountered:
fix(table): table setting error #174 #165
c960020
出现空列留一列不计算即可。 那一列很长是因为你的电脑屏幕可能太宽,把其他的列从40设置到100+应该就可以了。其他问题已修复
Sorry, something went wrong.
No branches or pull requests
创建列:
首次显示,有横向进度条
![微信截图_20210106192751](https://user-images.githubusercontent.com/22962492/103763791-4f6e4100-5055-11eb-9163-e0fc7247f8cb.png)
![微信截图_20210106193149](https://user-images.githubusercontent.com/22962492/103764153-e76c2a80-5055-11eb-9e11-6c9f0dcd8922.png)
![微信截图_20210106193752](https://user-images.githubusercontent.com/22962492/103764623-c0622880-5056-11eb-968b-4e045e004672.png)
勾选t0后,列宽重新计算
将t3,t5左fixed,这种情况下无论如何操作都出现空列
留一列不设置宽度
首次显示,t列宽度占满表格
![微信截图_20210106194530](https://user-images.githubusercontent.com/22962492/103765282-e76d2a00-5057-11eb-97a3-b45fb89d31a6.png)
![微信截图_20210106195115](https://user-images.githubusercontent.com/22962492/103765691-8e51c600-5058-11eb-8540-6698d44254a7.png)
勾选t0后列表显示正常,fixed功能也正常
在设置fixed后希望重新点击显示/隐藏列还能保留设置的fixed状态
大佬辛苦~
The text was updated successfully, but these errors were encountered: