jQuery MiniUI
标题:
treegrid中CheckBox怎么始终显示
[打印本页]
作者:
冰是睡着的雪
时间:
2018-6-4 09:56:56
标题:
treegrid中CheckBox怎么始终显示
[attach]10946[/attach]
<div field="IsEqu" header="Equipment" headeralign="center" align="center" allowsort="true">
Equipment<input property="editor" class="mini-CheckBox" truevalue="1" falsevalue="0" style="width: 100%;" oncheckedchanged="as(this)" />
</div>
复制代码
<div id="a1" idfield="wbs_guid" parentfield="parent_wbs_guid" class="mini-treegrid"
sortfield="LongCode" treecolumn="wbs_short_name" style="width: 100%; height: 100%;"
allowresize="true" allowcelledit="true" multiselect="true" showpager="false"
allowcellselect="true" oncellendedit="onWBSCellEndEdit" showcheckbox="false"
expandonload="true" checkrecursive="false" onnodecheck="WBS_nodecheck">
<div property="columns">
复制代码
上面那种写法,复选框不能直接展示,只有在选中某个单元格时,才能显示复选框,这样的操作体验非常差。数据源是loadList 进去的。我想弄成下面这种始终显示复选框的。该怎么改?
[attach]10947[/attach]
作者:
dforce
时间:
2018-6-4 10:14:38
http://www.miniui.com/demo/#src=datagrid/celledit.html
参考婚否这列,用我们的checkboxcolumn
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2