Skip to content
New issue

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] 表头无法进行行合并 #4306

Open
ouyanghui100 opened this issue Jun 18, 2024 · 9 comments
Open

[table] 表头无法进行行合并 #4306

ouyanghui100 opened this issue Jun 18, 2024 · 9 comments
Labels
usage the issue about component usage

Comments

@ouyanghui100
Copy link

这个功能解决了什么问题

可以使表头进行行和并,目前无法实现合并行
企业微信截图_17186979964792

你建议的方案是什么

添加rowspan属性,可以自主合并行

Copy link
Contributor

👋 @ouyanghui100,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@algerkong
Copy link
Contributor

多级表头可以实现吧
image

@ouyanghui100
Copy link
Author

多级表头可以实现吧 image

@ouyanghui100
Copy link
Author

这个children属性好像不能使中间的表头占多行,它默认一行,然后剩余行数让最后一个children占满,我想让中间的可以自主设置行数,

@uyarn
Copy link
Collaborator

uyarn commented Jun 19, 2024

image 这个不就是中间表头占多行的吗

@uyarn uyarn added the usage the issue about component usage label Jun 19, 2024
@ouyanghui100
Copy link
Author

image 这个不就是中间表头占多行的吗
这个是列合并(colspan)吧,目前children就可以实现?我的意思是竖直方向(rowspan),就是目前无法实现那种中间表头占多行的情况。

@ouyanghui100
Copy link
Author

image 这个不就是中间表头占多行的吗

企业微信截图_1718872602585

@uyarn
Copy link
Collaborator

uyarn commented Jun 21, 2024

sorry上面的回复确实没说对 应该圈审批状态的;
不过下面这个回复的意思 看起来是row和col要合并多行多列?还是就是合并多行的需求而已

@ouyanghui100
Copy link
Author

sorry上面的回复确实没说对 应该圈审批状态的; 不过下面这个回复的意思 看起来是row和col要合并多行多列?还是就是合并多行的需求而已
没事没事,希望出一个中间行可以合并的api(rowspan),目前列合并有colspan和children基本实现了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage the issue about component usage
Projects
None yet
Development

No branches or pull requests

3 participants