|
1 2 3 4 5 6 7 8 9 10 |
/var ActionsWidth = manageWorkWidth-(ActionNameWidth+CompleteWidth+80);<br /> $('#jQGridActionsTable@(Model.RowID)').jqGrid({<br /> datatype: 'local',<br /> data: JSONData,<br /> colNames: ['Task Actions' ,'Description', ''],<br /> colModel: [<br /> { name: 'ActionName', index: 'ActionName', width: 418, searchoptions: { sopt: ['cn', 'nc', 'bw', 'ew', 'eq', 'ne'] }, formatter: actionCellFormatter, formatoptions: { cellType: 'action' } },<br /> //{ name: 'Complete', index: 'Complete', width: CompleteWidth, search: false, sortable: false, title: false, align: 'center', formatter: actionCellFormatter, formatoptions: { cellType: 'complete' } },<br /> //{ name: 'Actions', index: 'Actions', width: ActionsWidth, search: false, sortable: false },<br /> <strong> {name:'ActionDescription', index:'ActionDescription', width:1000, sorttype:'text', sortable: true,</strong> |
|
1 |
<strong>cellattr: function (rowId, val, rawObject, cm, rdata) {<br /><br />return 'title="'+rawObject.ActionDescription +'"',</strong> |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
<strong><br /> searchoptions: { sopt: ['cn', 'nc', 'bw', 'ew', 'eq', 'ne'] }},<br /> { name: 'ActionId', index: 'ActionId', hidden: true }<br /> <br /><br /> ],</strong><br /> loadonce: true,<br /> rowNum: 500,<br /> //rowList: [15, 30, 45],<br /> //pager: '#jQGridActionsTablePager@(Model.RowID)',<br /> viewrecords: true,<br /> rowNum: 10000,<br /> autowidth: false,<br /> height: '100%',<br /> minheight: '50px',<br /> shrinkToFit: true,<br /> altRows: true,<br /> <br /><br /> gridview: true,<br /> subGrid: true,<br /> altclass: 'JQGrid_AlternateRow',<br /> subGridOptions: { openicon: 'noBgImg' },<br /> subGridRowExpanded: ActionSubGridRowExpanded,<br /> <br /><br /> beforeSelectRow: function (rowid, e) { OnBeforeSelectRow('jQGridActionsTable@(Model.RowID)', rowid, e); },<br /> loadComplete: function () { jQuery("#jQGridActionsTable@(Model.RowID)").hideCol('subgrid'); },<br /> ignoreCase: true<br /> }); |
|
1 |
|
1 |
<p>I want to increase the width as my column text.</p> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top