| | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , totalRow: true |
| | | , height: 500 |
| | | //,url: '/demo/table/user/' //æ°æ®æ¥å£ |
| | | , page: true //å¼å¯å页 |
| | | , cols: [[ //表头 |
| | | {type:'checkbox', fixed: 'left'} |
| | | ,{ templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left',event:"qwe" } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡'} |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe", totalRow: true } |
| | | , { field: 'HWasterReasonName', title: 'ä¸è¯åå ', event: "ReasonNameEvent" } |
| | | , { field: 'HBadReasonID', title: 'ä¸è¯åå id' } |
| | | , { field: 'HEmpName', title: '责任人', edit: 'text', event: "EmpNameEvent" } |