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
Table
后九列这个表头我想设置rowspan = 3 但是没有支持设置的地方
The text was updated successfully, but these errors were encountered:
现在table的逻辑里不支持设定 rowspan 来改变当前行的合并行为的,因为现在在将Column 和 ColumnGroup 转换成对应的数据结构时,是按照树形一层层处理的,最后获取到的数据结构类似为[['前6列','后9列'],['前三名','后三名','col_7',...]]的形式,根据你图片中的内容所示,col_7 到 col_15 都会被当作第二层级渲染。
Sorry, something went wrong.
ColumnGroup组件上新增rowspan的prop以支持自主设置表头的行合并是否有可行性?
代码上看应该是可行的,这个逻辑需要作用在根据children构建数据结构的时候,得考虑一些边界情况,并进行一些测试才能确定,现在透传rowspan 直接作用在了dom上,没有在构建数据结构的时候使用
No branches or pull requests
Component
Table
Feature Description
后九列这个表头我想设置rowspan = 3 但是没有支持设置的地方
The text was updated successfully, but these errors were encountered: