Commit 1e7f4f57 authored by 覃振观's avatar 覃振观 👶

检查

parent e72017b4
......@@ -49,20 +49,23 @@ function faceGrid(elId, data) {
updateHandler();
}
});
gridManager = UICtrl.grid("#frontFaceDiv", {
gridManager = UICtrl.grid(elId, {
columns: [
{ display: "颜色名称", name: "productFaceColorId", width: 140, minWidth: 60, type: "string", align: "left" },
{ display: "油墨覆盖率(%)", name: "coverageRate", width: 120, minWidth: 60, type: "string", align: "left" }
],
toolbar: toolbarOptions,
dataAction: "local",
dataType: "local",
data: data,
usePager: false, // 可能无数据时,此参数应设为 false
toolbar: toolbarOptions,
width: "100%",
height: "100%",
heightDiff: -8,
data: data, // data 数据结构 data: ("Rows": [ {}, {} ])
checkbox: true,
usePager: true,
pageSize: 20,
width: "100%",
height: 420,
enabledSort: false,
autoAddRowByKeydown:false,
heightDiff: -10,
fixedCellHeight: true,
selectRowButtonOnly: true,
onDblClickRow : function(data, rowindex, rowobj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment