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
代码使用如下: 无法拖拽调整该列的宽度
The text was updated successfully, but these errors were encountered:
独自抽成一个组件,然后columns 放在组件里面可以,类似这样 ,但是提取出来放attributes 就会失效
Sorry, something went wrong.
因为i-table的列宽依赖width属性,在调整列宽时,会更新该属性。而在sifo上,columns属性是作为props传入的,props不允许直接更改。 如何解决:可以使用on-column-width-resize方法,在sifo插件中用addEventListener监听此方法,并在该方法触发时用setAttributes更新相应列的width属性。 类似下图的onColResize的用法
xiexie
No branches or pull requests
代码使用如下: 无法拖拽调整该列的宽度
The text was updated successfully, but these errors were encountered: