- 注册时间
- 2012-12-13
- 最后登录
- 2020-6-4
- 阅读权限
- 10
- 积分
- 221
- 精华
- 0
- 帖子
- 47
|
niko 发表于 2012-12-18 21:00
2.grid.set({multiSelect: true});
3.
columns: [
var grid = new mini.DataGrid();
grid.set({
id:"datagrid1",
style: "width:100%;",
columns: [
{ type: "indexcolumn" ,header:"序号",headerAlign:"center"},
{ headerAlign: "center",header:"列一",
editor: {type: "textbox", style: "width:100%"}
},
{ headerAlign: "center", header:"列二",
editor: {type: "textbox", style: "width:100%"}
}
]
});
grid.render(document.body); 貌似无法生成可编辑的文本框
|
|