找回密码
 立即注册

QQ登录

只需一步,快速开始

mohai
注册会员   /  发表于:2017-8-2 20:55:43
21#
CCKan 发表于 2017-7-26 17:51
那你还是用
fn.isVolatile = function () {
                    return true;

现在就是性能有问题,遇到数据量大的报表就像卡死了一样要几十秒
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2017-8-3 18:09:30
22#
http://demo.gcpowertools.com.cn/ ... samples/spreadPaint

操作前后一定要加 suspendPaint 和 resumePaint。这个接口和V9里不一样
回复 使用道具 举报
CCKan
银牌会员   /  发表于:2017-8-4 09:54:23
23#
能不能根据分组信息自动生成公式,比如取到分组的开始行和结束行后:

            var row = groupStartRow, column = 2, rowCount = groupEndRow - groupStartRow + 1, columnCount = 1;
            sheet.setFormula(groupEndRow + 1, column, GC.Spread.Sheets.CalcEngine.rangeToFormula(new GC.Spread.Sheets.Range(row, column, rowCount, columnCount)));
回复 使用道具 举报
123
您需要登录后才可以回帖 登录 | 立即注册
返回顶部