Easyui datagrid IE下 行编辑器中控件会随滚动条浮动
问题描述:
答
什么版本的easyui?1.4.1没有你说的问题。。你的layout是全屏的还是设置了容器而已
答
在火狐下无此问题,另外启用行编辑器时候整个行长度会变长一些,这个问题存在于所有浏览器
另外 我的datagrid 外面有一层 layout布局。
答
<body class="easyui-layout" oncontextmenu="return false">
<div id="mainPanle" data-options="region:'center'">
<table id="mytable" class="easyui-datagrid" data-options="selectOnCheck:false,checkOnSelect:false,striped:true,nowrap:false,toolbar:'#toolbar',method:'get',fit:true,singleSelect:true,rownumbers:true,iconCls:'icon-save',title:'申报信息初审',url:'Json/Base.json',idField:'ID',onDblClickRow:onDblClickRow">
<thead>
<tr>
<th data-options="field:'ck',checkbox:true">
</th>
<th data-options="field:'Code',halign:'center'" width="100">
申报编号
</th>
<th data-options="field:'Name',halign:'center'" width="150">
项目名称
</th>
<th data-options="field:'Application',halign:'center'" width="100">
申报单位
</th>
<th data-options="field:'Cooperation',halign:'center'" width="100">
协作单位
</th>
<th data-options="field:'Total',halign:'center'" width="100">
投资总额
</th>
<th data-options="field:'Done',halign:'center'" width="100">
已完成投资额
</th>
<th data-options="field:'Allowance',halign:'center'" width="100">
申报补助额
</th>
<th data-options="field:'Status',halign:'center',formatter:Formatter_Status" width="100">
项目状态
</th>
<th data-options="field:'Content',halign:'center'" width="200">
项目内容
</th>
<th data-options="field:'Declaration',halign:'center',formatter:Formatter_Upload"
width="70">
申报书上传
</th>
<th data-options="field:'Feasibility',halign:'center',formatter:Formatter_Upload"
width="90">
可行性报告上传
</th>
<th data-options="field:'Result',halign:'center',formatter:Formatter_Result,editor:{type:'combobox',options:{required:true,data:[{'text':'不考虑','value':'-1'},{'text':'答辩','value':'1'},{'text':'调研','value':'2'}]}}" width="100">
初审结果
</th>
<th data-options="field:'Suggestion',halign:'center'" width="350">
初审意见
</th>
</tr>
</thead>
</table>
</div>
</body>