找回密码
 立即注册

QQ登录

只需一步,快速开始

runergy
金牌服务用户   /  发表于:2023-8-21 17:26  /   查看:577  /  回复:1
1金币
autoFitColumn
,setColumnWidth这两个列宽只针对一整列的,如何取某个单元格的列宽。

最佳答案

查看完整内容

您好,可以参考这个接口来获取单元格的列宽: https://demo.grapecity.com.cn/spreadjs/help/api/classes/GC.Spread.Sheets.CellRange#width

1 个回复

倒序浏览
最佳答案
最佳答案
Joestar.XuSpreadJS 开发认证
超级版主   /  发表于:2023-8-21 17:26:53
来自 2#
您好,可以参考这个接口来获取单元格的列宽:

image.png686788024.png

https://demo.grapecity.com.cn/sp ... ets.CellRange#width
SpreadJS 17.0.8 | GcExcel 7.1.0 已发布~
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部