Datagrid中footer的使用(可用于显示合计)

datagrid属性showFooter设置true

showFooter : true,


{"total":5,"rows":[
{"productid":"FI-SW-01","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"},
{"productid":"K9-DL-01","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"},
{"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":28.50,"attr1":"Venomless","itemid":"EST-11"}
],"footer":[
{"unitcost":19.80,"listprice":60.40,"productid":"Average:"},
{"unitcost":198.00,"listprice":604.00,"productid":"Total:"}

]}


{"total":722,"rows":[{"b1":"Z","b2":"","b3":14,"b4":0,"b5":14,"b6":100,"belongBU":"8a4882b43df821c0013df8228a0a0000","difficulty_degree":"","isDelete":"0","isUse":"1","product_category":"8a9480bb3f14a162013f1639a5100012","purpose":"8a9480bb3f14a162013f1633a6b30000","questionsId":"8a4016b33f552962013f557f95100a1b","questions_category":"8a9480bb3f14a162013f163e1470001f","questions_explain":"在多发性骨髓瘤的治疗中,抑制多发性骨髓瘤细胞和骨髓微环境之间的相互作用与抑制多发性骨髓瘤细胞自身的生长同样重要","questions_type":"2","questions_value":"","reference_answer":"是","specification":"","updateTime":"2013-06-18 12:16:32"}],"footer":[ {"b6":3} ] }

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值