码迷,mamicode.com
首页 > 其他好文 > 详细

ligureUI 刷新列求和

时间:2016-01-14 18:45:50      阅读:336      评论:0      收藏:0      [点我收藏+]

标签:

dataGrid=$("#dataGrid").ligerGrid({
            columns: [
            {display:门店编号, name:attr1, width:150, align:left },
            {display:门店名称, name:attr2, width:150, align:left},
            {display:日期范围, name:attr3, width:150,  align:right},
            {display:支付宝金额, name:attr4, width:150, align:right,totalSummary:
            {
                type: sum
            }},
            {display:微信金额, name:attr5, width:150, align:right,totalSummary:
            {
                type: sum
            }},
            {display:OK卡金额, name:attr6, width:150, align:right,totalSummary:
            {
                type: sum
            }},
            {display:东方购物金额, name:attr7, width:150, align:right,totalSummary:
            {
                type: sum
            }}],
            pageSize:50, 
            data: null,      
            width: centerWidth,
            height:height-35,
            rownumbers:true, usePager:false
        });
dataGrid.options.data=$.extend(true, {}, {Rows: list,Total: list.length});
dataGrid.UpdateTotalSummary;

 

ligureUI 刷新列求和

标签:

原文地址:http://www.cnblogs.com/sprinng/p/5130889.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!