| | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , totalRow: true |
| | | , height: 500 |
| | | , limit: 500 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | //,url: '/demo/table/user/' //æ°æ®æ¥å£ |
| | | , page: true //å¼å¯å页 |
| | | , cols: [[ //表头 |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe", width: 100 } |
| | | , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true } |
| | | , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true } |
| | | , { field: 'HQCCheckClassName', title: 'æ£éªé¡¹ç®ç±»å«åç§°', edit: 'text', event: "HQCCheckClassCheck", width: 150 } |
| | | , { field: 'HQCCheckClassNumber', title: 'æ£éªé¡¹ç®ç±»å«', edit: 'text', width: 100, hide: true } |
| | | , { field: 'HQCCheckItemID', title: 'HQCCheckItemID', edit: 'text', hide: true } |