jQuery MiniUI
标题:
mini-datagrid绘制单元格
[打印本页]
作者:
hujm2016
时间:
2020-7-16 18:44:49
标题:
mini-datagrid绘制单元格
请问版主:
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>
作者:
felt
时间:
2020-7-17 09:27:55
序号列没有field
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2