找回密码
 立即注册

QQ登录

只需一步,快速开始

aubreyqian

最新发帖
最佳答案
最佳答案
Derrick.Jiao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
论坛元老   /  发表于:2020-8-18 17:44:16
来自 8#
您好,这边建议您可以用条件格式去做
这是咱们官方的demo,您可以看下
https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/features/cells/conditional-format/basic-conditional-format/purejs

条件格式是支持边框的,而且样式优先级最高,关于样式优先级您可以看下这边文章
https://gcdn.grapecity.com.cn/showtopic-78902-1-1.html

在按钮中添加指定的规则,可以让单元格显示指定样式的边框

这是边框样式的API
https://demo.grapecity.com.cn/spreadjs/help/api/GC.Spread.Sheets.Style.html#borderBottom

更多有关api您可以查阅
https://demo.grapecity.com.cn/spreadjs/help/api/
回复 使用道具 举报
12
您需要登录后才可以回帖 登录 | 立即注册
返回顶部