找回密码
 立即注册

QQ登录

只需一步,快速开始

kkxmqdqs

注册会员

4

主题

10

帖子

26

积分

注册会员

积分
26
最新发帖
kkxmqdqs
注册会员   /  发表于:2016-9-21 15:35  /   查看:3534  /  回复:6
1.有获取cell 的前景色,背景色,对齐方式,字体大小 的API吗
2.有设置字体的粗细、斜体的API吗
谢谢

6 个回复

倒序浏览
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-9-21 15:46:27
沙发
1 .  getStyle 可以获取当前cell的style
http://sphelp.grapecity.com/webh ... Sheet~getStyle.html
另外 getActualStyle 可以获取到这个cell应用的实际样式,比如从row上或者sheet继承的style
http://sphelp.grapecity.com/webh ... getActualStyle.html

2 您看下下面的博客,有详细说明
http://blog.gcpowertools.com.cn/ ... AE%BE%E7%BD%AE.aspx
回复 使用道具 举报
kkxmqdqs
注册会员   /  发表于:2016-9-21 17:16:43
板凳
dexteryao 发表于 2016-9-21 15:46
1 .  getStyle 可以获取当前cell的style
http://sphelp.grapecity.com/webhelp/SpreadJSWeb/webframe.html ...

可以了,谢谢你
回复 使用道具 举报
kkxmqdqs
注册会员   /  发表于:2016-9-21 17:16:46
地板
dexteryao 发表于 2016-9-21 15:46
1 .  getStyle 可以获取当前cell的style
http://sphelp.grapecity.com/webhelp/SpreadJSWeb/webframe.html ...

可以了,谢谢你
回复 使用道具 举报
kkxmqdqs
注册会员   /  发表于:2016-9-21 17:16:46
5#
dexteryao 发表于 2016-9-21 15:46
1 .  getStyle 可以获取当前cell的style
http://sphelp.grapecity.com/webhelp/SpreadJSWeb/webframe.html ...

可以了,谢谢你
回复 使用道具 举报
kkxmqdqs
注册会员   /  发表于:2016-9-21 17:16:48
6#
dexteryao 发表于 2016-9-21 15:46
1 .  getStyle 可以获取当前cell的style
http://sphelp.grapecity.com/webhelp/SpreadJSWeb/webframe.html ...

可以了,谢谢你
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-9-21 17:18:39
7#
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部