- 注册时间
- 2016-10-13
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 82
- 精华
- 0
- 帖子
- 24

|
felt 发表于 2016-11-16 11:39 
ondrawcell,表格绘制事件,绘制每个单元格都会触发
<div id="datagrid1" class="mini-datagrid" style="width:480px;height:250px;" url="../Ajax/UserManager.aspx?method=selectall" idField="id" allowResize="true"
sizeList="[5,30,50,100]" pageSize="20" onselectionchanged="onSelectionChanged" multiSelect="true" ondrawcell="OnDrawCell">
function OnDrawCell(e) {
debugger
var rows = grid.getData();
var record = e.record,
column = e.column,
field = e.field,
value = e.value;
}
是这样的么? |
|