- 注册时间
- 2012-5-23
- 最后登录
- 2018-2-27
- 阅读权限
- 200
- 积分
- 7605
- 精华
- 0
- 帖子
- 3021
|
看帖子:
http://miniui.com/bbs/forum.php? ... &extra=page%3D1
可以通过JS创建对象:
var grid = new mini.DataGrid();
grid.set({
url: "../data/dataservice.aspx?method=SearchEmployees",
style: "width:700px;height:280px;",
valueField: "id",
columns: [
{ type: "indexcolumn" },
{ field: "loginname", width: 120, headerAlign: "center", allowSort: true },
{ field: "name", width: 120, headerAlign: "center", allowSort: true }
]
});
grid.render(document.body); |
|