|

楼主 |
发表于 2014-11-5 17:12:01
|
显示全部楼层
ExcGatherActivity.grid1Init = function(event){
debugger;
this.grid.attachFooter("<div style='height:22px;'><span style='font-size:12px;line-height:22px;'>合计</span></div>,<div style='text-align:center;'><span id='cntValue'/></div>,#cspan,#cspan,#cspan");
};
/**
name:bizData#onAfterRefresh
description: <b>[回调型事件]</b>业务数据刷新后
@param event 它的结构如下:<br/>{"source":组件的js对象}
*/
ExcGatherActivity.listDataAfterRefresh = function(event){
$("#cntValue").html("1条");
};
代码没错啊,要不要看grid的源码 |
|