- 注册时间
- 2017-8-4
- 最后登录
- 2024-9-13
- 阅读权限
- 10
- 积分
- 353
- 精华
- 0
- 帖子
- 30
|
- <div class="mini-panel" style="width: 100%;height: 100%;" borderStyle="border:0" bodyStyle="padding:0;" showHeader="false">
- <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" allowResize="false"
- multiSelect="true" >
- <div property="columns">
- <div type="checkcolumn"></div>
- <div type="indexcolumn"></div>
- <div field="loginname" width="120" headerAlign="center">员工帐号</div>
- <div field="name" width="120" headerAlign="center">姓名</div>
- </div>
- </div>
- </div>
- <script>
- mini.parse();
- var grid = mini.get("datagrid1");
- var data = [{"id":"1122121","loginname":"12","name":"张三"}];
- grid.setData(data);
- grid.load();
- </script>
复制代码
我使用这样的加载方式报404错误
|
|