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

Excel单元格宽度固定,单元格内容非常多导致一个单元格显示不下所有内容,现有方法可以让单元格内容完全显示吗?多谢! #3852

Closed
AccountGc opened this issue Jun 25, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@AccountGc
Copy link

已经搜索过,未找到相关问题 谢谢

@AccountGc AccountGc added the help wanted Extra attention is needed label Jun 25, 2024
@AccountGc
Copy link
Author

AccountGc commented Jun 25, 2024

例如:调用某个方法检测此行是否有数据溢出,并且合并单元格

@psxjoy
Copy link
Collaborator

psxjoy commented Jun 25, 2024

xlsx本质上来说是一个xml文件,没办法做这种动态检测。只能说你预估一个值,超过这个长度,固定增加宽度。

@LSL1618
Copy link

LSL1618 commented Jun 26, 2024

一个是重设单元格列宽,一个是重设单元格行高,根据单元格内容的字符长度,来预估一个宽度或高度。

@AccountGc
Copy link
Author

xlsx本质上来说是一个xml文件,没办法做这种动态检测。只能说你预估一个值,超过这个长度,固定增加宽度。

多谢

@AccountGc
Copy link
Author

一个是重设单元格列宽,一个是重设单元格行高,根据单元格内容的字符长度,来预估一个宽度或高度。

多谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants