| | |
| | | function set_InitGrid() { |
| | | //ç¹æ£é¡¹ç® |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HDotCheckItemID', title: 'ç¹æ£é¡¹ç®ID', edit: 'text', hide: true } |
| | | , { field: 'HDotCheckCode', title: 'ç¹æ£é¡¹ç®ä»£ç ', edit: 'text', event: "HDotCheckCode" } |
| | |
| | | , elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 120 |
| | | , height: 500 |
| | | , cols: [columns] |
| | |
| | | |
| | | //ç¹æ£è®¡å |
| | | columns_plan = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡'} |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, event: "qwe" } |
| | | , { field: 'HPlanDate', title: 'è®¡åæ¥æ' } |
| | | , { field: 'HPlanBeginTime', title: '计åå¼å§æ¶é´ç¹' } |
| | |
| | | , elem: '#mainTable_plan' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | , totalRow: true |
| | | , limit: 500 |
| | | , limits:[50,200,500,1000,3000] |
| | | , cellMinWidth: 120 |