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

宽度跟配置的不一致。 #298

Open
Zzyyywo opened this issue Jan 16, 2024 · 1 comment
Open

宽度跟配置的不一致。 #298

Zzyyywo opened this issue Jan 16, 2024 · 1 comment

Comments

@Zzyyywo
Copy link

Zzyyywo commented Jan 16, 2024

大佬,我使用了你的表格,表头的数据里面嵌套着children,就是嵌套表格,里面都有width,并且都是px的字符串了,为什么真实出来的数据宽度会自动撑开呀,跟width的值完全不一样,我看了文档各种都调不好,是什么问题呀。

@baukh789
Copy link
Owner

宽度在初始化时会检查th文本的宽,如果不足时会自动增加宽度。
你可以试下是否是这种问题,如果不是建议发个截图。

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

No branches or pull requests

2 participants