找回密码
 立即注册

QQ登录

只需一步,快速开始

素描

注册会员

4

主题

9

帖子

37

积分

注册会员

积分
37
最新发帖
素描
注册会员   /  发表于:2017-1-4 12:19  /   查看:3422  /  回复:1
GcSpread.Sheets.Calc.Functions.defineGlobalCustomFunction("PAGENO", function(args){
  return args[0];
}, {typeName:"custom_pageno"});

如上  如何把自定义函数 注册到公式编辑器中

1 个回复

倒序浏览
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2017-1-4 17:38:28
沙发
您好,V9请参考下面链接
http://sphelp.grapecity.com/webh ... ionDescription.html
V10简单一些,创建时候加上 description就可以了
http://xa-tools-shdev/widget.v10/doc/#JavascriptLibrary~GC.Spread.CalcEngine.Functions.Function~description.html
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部