找回密码
 立即注册

QQ登录

只需一步,快速开始

FeddyHuang

注册会员

18

主题

35

帖子

169

积分

注册会员

积分
169
FeddyHuang
注册会员   /  发表于:2019-11-6 19:47  /   查看:3435  /  回复:5
c1flexGrid如何在页脚汇总数字类型的值,排序不能影响。

5 个回复

倒序浏览
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2019-11-6 22:52:16
沙发
我明天早上帮你验证这个问题
回复 使用道具 举报
FeddyHuang
注册会员   /  发表于:2019-11-7 11:31:40
板凳
有没有DEMO
回复 使用道具 举报
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2019-11-7 11:33:25
地板
列脚汇总不会影响排序的吧,可以参考下面链接中的“columnFooters”
https://help.grapecity.com/compo ... FlexGrid.Class.html

  1. function addFooterRow(flex) {

  2.   // create a GroupRow to show aggregates
  3.   var row = new wijmo.grid.GroupRow();

  4.   // add the row to the column footer panel
  5.   flex.columnFooters.rows.push(row);

  6.   // show a sigma on the header
  7.   flex.bottomLeftCells.setCellData(0, 0, '\u03A3');
  8. }
复制代码

回复 使用道具 举报
FeddyHuang
注册会员   /  发表于:2019-11-15 16:50:58
5#
//汇总
            var row = new wijmo.grid.GroupRow();
            theGrid1.columnFooters.rows.push(row);
            theGrid1.bottomLeftCells.setCellData(0, 6, '\u03A3');


加 了 theGrid1.bottomLeftCells.setCellData(0, 6, '\u03A3'); 后报错
WebResources:36 Uncaught TypeError: Cannot read property '_hash' of undefined
回复 使用道具 举报
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2019-11-15 18:09:23
6#
ComponentOne Samples\ASP.NET MVC\v4.0\MVC\CS\HowTo\LearnMvcClient\LearnMvcClient
请参考这个demo中如下截图对应的代码



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部