- 注册时间
- 2016-1-7
- 最后登录
- 2021-7-12
- 阅读权限
- 10
- 积分
- 171
- 精华
- 0
- 帖子
- 27
|
请问版主:
grid.on("drawcell", function (e) {
debugger;
if (ly == "onButtonEdit") {
if (e.record.Gkqdid == id) {
var fields = e.field;
}
}
});
这个表格绘制e.field拿不到数据是什么原因?这是我的表格:
<div id="dgFxqd" class="mini-datagrid" url=@Url.Action("QueryHseriskgkqdList") sortmode="client" valuefield="Gkqdid"
allowalternating="true" contextmenu="#gridMenu" sizelist="[100,500]" pagesize="100"
allowcellwrap="false" allowCellEdit="true" allowCellSelect="true">
<div property="columns">
<div type="indexcolumn">序号</div>
<div field="Gkqdid" visible="false" class="mini-hidden"></div>
<div field="Fxsxmc" headeralign="center" align="center" width="80">风险属性</div>
<div field="Fxmc" headeralign="center" align="center" allowsort="false" width="150">风险名称</div>
<div field="Fxlbmc" headeralign="center" align="center" width="80">风险类别</div>
<div field="Fbcj" headeralign="center" align="center" width="80" renderer="onFbcjActionRender">发布层级</div>
<div field="Sjly" headeralign="center" align="center" width="80" renderer="onLyActionRender">来源</div>
<div field="Xfsybmc" headeralign="center" align="center" allowsort="true" width="150">适用事业部</div>
<div field="Syqy" name="Syqy" headeralign="center" align="center" allowsort="true" width="90">
适用企业
<input property="editor" id="Syqybms" class="mini-buttonedit" visible="false" allowinput="false" />
<input property="editor" id="Syqy" class="mini-buttonedit"
selectonfocus="true" allowinput="false" required="true" />
</div>
<div field="Cz" headeralign="center" align="center" allowsort="true" width="80" renderer="onActionRenderCz">操作</div>
</div>
</div>
|
|