解决方案 »
- 求小图看大图JS,弹出大图必须在区域内(有图有代码)
- 求div浮动代码 兼容IE6,IE7,火狐
- DOM树中取值的问题
- 除了宋体之外,还有什么字体可以工整地对齐,即不论是什么字母,不论大小写,宽度都是一样的
- checkbox多笔id判定问题
- 怎样用javacript调动outlook发appointment(meeting request)?
- ¥¥¥¥¥我在javascript中得到一变量,想把这个值放入表单<form>中的text中,该怎么做?
- 用window.open打开一个网页以后,怎么把新打开窗口的数据传到前面一个窗体里?很急,希望大家帮忙啊
- confirm确认框中的按扭可不可以自己定义?
- js wap页面点击复制链接
- a标签href方法调用的疑问
- 小白求教javascript求屏幕分辨率问题!IE和safari浏览器
其中第二个参数为对应的域,即field
<div data-options="region:'center',border:false" style=" overflow: hidden;" >
<table id="test-datagrid" style="display:none"
data-options="url:'test/query.htm',rownumbers:false,fit:true,fitColumns:false,nowarp:true,border:false,toolbar:'#toolbar-test'">
<thead>
<tr>
<th data-options="field:'id',width:80,checkbox:true">id</th>
<th field="ip" width="100" align="center"">IP</th>
<th data-options="field:'username',width:80,align:'center'">用户名</th>
<th data-options="field:'password',width:80,align:'center'">密码</th>
<th data-options="field:'enable',width:80,align:'center'">是否可用</th>
<th data-options="field:'re',width:100,align:'center'">备注</th>
</tr>
</thead>
</table>
</div>红色的去掉。
bingo,我以前用这个方法的时候用错了,汗,问题解决了,谢谢