| | |
| | | function set_InitGrid() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HRepairID', title: 'HRepairID', edit: 'text', event: "", hide: true } |
| | | , { field: 'HRepairCode', title: '维修项ç®ä»£ç ', edit: 'text', event: "", event: "HRepairCode" } |
| | |
| | | , elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 120 |
| | | , height: 300 |
| | | , cols: [columns] |
| | |
| | | function set_InitGrid_pj() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao1', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HMaterID', title: 'é
ä»¶ID', edit: 'text', hide: true } |
| | | , { field: 'HMaterNumber', title: 'é
件代ç ', edit: 'text', event: "HMaterCode" } |
| | |
| | | , { field: 'HManagerID', title: 'è´è´£äººID', edit: 'text', hide: true } |
| | | , { field: 'HManagerNumber', title: 'è´è´£äººä»£ç ', edit: 'text', event: 'HManagerNumber' } |
| | | , { field: 'HManagerName', title: 'è´è´£äºº', edit: 'text' } |
| | | , { field: 'HQty', title: 'ç¨é', edit: 'text' } |
| | | , { field: 'HQty', title: 'ç¨é', edit: 'text', totalRow: true } |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text' } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo1', width: 150 } |
| | | ]; |
| | |
| | | , elem: '#mainTable1' |
| | | , toolbar: '#toolbarDemo1' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 120 |
| | | , height: 300 |
| | | , cols: [columns] |