<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: cellEdit not firing with fomatter checkbox set</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/celledit-not-firing-with-fomatter-checkbox-set</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/celledit-not-firing-with-fomatter-checkbox-set/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Renso on cellEdit not firing with fomatter checkbox set</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/celledit-not-firing-with-fomatter-checkbox-set#p22006</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/celledit-not-firing-with-fomatter-checkbox-set#p22006</guid>
        	        	<description><![CDATA[<p>Doesn&#39;t work in Chrome but here is a solution that works in Firefox, would this all really be necessary or is there a better way to do it?</p>
<blockquote>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Materials&#39;, index: &#39;Materials&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: <span style="color: #ff0000;">boolformatter</span>, formatoptions: { disabled: false} },</p>
</blockquote>
<p>&#160;<span style="color: #99cc00;">&#160;&#160; function <span style="color: #00ff00;">MakeCellEditable</span>(rowId, colName) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var item = &#39;#ListTrafficLines&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var rowids = $(item).getDataIDs();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var colModel = $(item).getGridParam().colModel;</span></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; for (var i = 0; i &#60; rowids.length; i++) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (rowId == rowids[i]) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; for (var j = 0; j &#60; colModel.length; j++) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (colModel[j].name == colName) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // Put cell in editmode.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // If the edit (third param) is set to false the cell is just selected and not edited.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // If set to true the cell is selected and edited.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(item).editCell(i, j, true);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // Let the grid know that the cell has been changed without having to push enter button or click another cell.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(item).saveCell(i, j);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }</p>
<p><span style="color: #0000ff;">&#160;&#160;&#160; var <span style="color: #ff0000;">boolformatter </span>= function(rowObject, cellValue, options) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellValue = cellValue + &#39;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellValue = cellValue.toLowerCase();</span></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; var checked = cellValue.search(/(false&#124;0&#124;no&#124;off&#124;n)/i) &#60; 0 ? &#39; checked="checked"&#39; : &#39;&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var inputControl = &#39;&#60;input id="&#39; + options.rowId + options.colModel.name + &#39;" class="view" type="checkbox" &#39; + checked + &#39; value="&#39; + cellValue + &#39; /&#62;&#39;;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(inputControl).click(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: #00ff00;">MakeCellEditable</span>(options.rowId, options.colModel.name);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(rowObject).html(inputControl);<br />&#160;&#160;&#160; }<br />&#160; &#160;</p>
]]></description>
        	        	<pubDate>Tue, 08 Feb 2011 22:13:06 +0200</pubDate>
        </item>
        <item>
        	<title>Renso on cellEdit not firing with fomatter checkbox set</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/celledit-not-firing-with-fomatter-checkbox-set#p22003</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/celledit-not-firing-with-fomatter-checkbox-set#p22003</guid>
        	        	<description><![CDATA[<p>jQuery version 1.4.4 on jqGrid version 3.4.4 (I believe the same issue exists even on the latest version of jqGrid looking at the forum).</p>
</p>
<p>Issue: as soon as you specify formatter: &#39;checkbox&#39;, the checkbox cell edit does not fire at all. Only the beforeEditCell and afterEditCell fire but saving dies not occur.</p>
<p>editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false}</p>
<p>I tried some suggestions in the forum on how to get this to work but the best one even loses the checkbox box in the list. I want to keep the functionality as standard as possible and only need a "fix" (in case this is a bug) to get cell edit with checkbox to fire of an ajax save. I do have "select" type columns that work just fine and fire as expected upon hitting enter key, but the checkboxes don&#39;t.</p>
</p>
<p>What does work:&#160; As long as I don&#39;t specify the formatter: &#39;checkbox&#39; it does work but the checkbox is not visible on loading the grid and is replaced with True or False when editing completed. Here is how the options look like that work, but without the checkbox displayed on listing the data:</p>
<p>editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; },formatoptions: { disabled: false}</p>
<p>NOTE above, no formatter!</p>
<p>I can&#39;t beleive no one else has run into this, there mist be some option/suggestion on to keep the checkbox displayed always, pre-edit, when editing and after editing and saving has been completed. Any advice would be appreciated.</p>
</p>
<p>Just so you get the whole picture here is my template:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(item)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: listURL,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; postData: &#39;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "local",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Id&#39;, &#39;Name&#39;, &#39;Commission&#60;br /&#62;Rep&#39;, &#39;Business&#60;br /&#62;Group&#39;, &#39;Order&#60;br /&#62;Date&#39;, &#39;Edit&#39;, &#39;TBD&#39;, &#39;Month&#39;, &#39;Year&#39;, &#39;Week&#39;, &#39;Product&#39;, &#39;Product&#60;br /&#62;Type&#39;, &#39;Online/&#60;br /&#62;Magazine&#39;, &#39;Materials&#39;, &#39;Special&#60;br /&#62;Placement&#39;, &#39;Logo&#39;, &#39;Image&#39;, &#39;Text&#39;, &#39;Contact&#60;br /&#62;Info&#39;, &#39;Everthing&#60;br /&#62;In&#39;, &#39;Category&#39;, &#39;Status&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Id&#39;, index: &#39;Id&#39;, hidden: true, hidedlg: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;AccountName&#39;, index: &#39;AccountName&#39;, align: "left", resizable: true, search: true, width: 140 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;SalesRepFullName&#39;, index: &#39;SalesRepFullName&#39;, align: "left", search: true, width: 120 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;BusinessGroupName&#39;, index: &#39;BusinessGroupName&#39;, align: "left", search: true, width: 120 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;OrderDate&#39;, index: &#39;OrderDate&#39;, align: &#39;left&#39;, width: 85, search: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ContractUrl&#39;, index: &#39;&#39;, align: &#39;center&#39;, sortable: false, width: 45 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;TBD&#39;, index: &#39;TBD&#39;, width: 35, sortable: true, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: { &#39;False&#39;: 0, &#39;True&#39;: 1} }, formatter: &#39;checkbox&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Month&#39;, index: &#39;Month&#39;, align: &#39;left&#39;, width: 75, sortable: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Year&#39;, index: &#39;Year&#39;, align: &#39;left&#39;, width: 45, sortable: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Week&#39;, index: &#39;Week&#39;, align: &#39;left&#39;, width: 45, sortable: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ProductName&#39;, index: &#39;ProductName&#39;, align: &#39;left&#39;, sortable: false, width: 120 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ProductTypeName&#39;, index: &#39;ProductTypeName&#39;, align: &#39;left&#39;, sortable: false, width: 120 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;OnlineName&#39;, index: &#39;OnlineName&#39;, align: &#39;left&#39;, sortable: false },<br /><span style="color: #ff0000;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Materials&#39;, index: &#39;Materials&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;SpecialPlacement&#39;, index: &#39;SpecialPlacement&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Logo&#39;, index: &#39;Logo&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Image&#39;, index: &#39;Image&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Text&#39;, index: &#39;Text&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ContactInfo&#39;, index: &#39;ContactInfo&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;EverythingIn&#39;, index: &#39;EverythingIn&#39;, width: 40, sortable: false, align: "center", editable: true, edittype: &#39;checkbox&#39;, editoptions: { value: &#39;True:False&#39; }, formatter: &#39;checkbox&#39;, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ListingCategoryId&#39;, index: &#39;ListingCategoryId&#39;, width: 85, editable: true, hidden: false, edittype: "select", editoptions: { multiple: false, value: listingCategory }, editrules: { required: false }, formatoptions: { disabled: false} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ListingStatusId&#39;, index: &#39;ListingStatusId&#39;, width: 85, editable: true, hidden: false, edittype: "select", editoptions: { multiple: false, value: listingStatus }, editrules: { required: false }, formatoptions: { disabled: false} }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root: "List",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page: "CurrentPage",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total: "TotalPages",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records: "TotalRecords",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; userdata: "Errors",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id: "0"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: $rows,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 20, 50, 200, 500, 1000, 2000],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: jQueryImageRoot,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: $(item + &#39;Pager&#39;), <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; recordtext: &#39;Traffic lines&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;OrderDate&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; altRows: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellEdit: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellsubmit: "remote",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cellurl: editURL + &#39;?rows=&#39; + $rows + &#39;&#38;page=1&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadComplete: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(item + &#39;Pager td.nav-button[title="Select Columns"] .tbutton&#39;).click(function() { $(item).CRM_SetColumns(); });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridComplete: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ToggleGridheight(&#39;#snh&#39;, item);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadError: function(xhr, st, err) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!ignoreAlert) { alert(ajaxErrorMessage); }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterEditCell: function(rowid, cellname, value, iRow, iCol) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //alert(&#39;afterEditCell: &#39; + value);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterSaveCell: function(rowid, cellname, value, iRow, iCol) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //alert(&#39;afterSaveCell: &#39; + value);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterSubmitCell: function(serverresponse, rowid, cellname, value, iRow, iCol) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //alert(&#39;afterSubmitCell: &#39; + value);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return [true, ""];<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforeEditCell: function(rowid, cellname, value, iRow, iCol) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //alert(&#39;beforeEditCell: &#39; + value);&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; search: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; searchdata: {},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "List of all Traffic lines",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: editURL + &#39;?rows=&#39; + $rows + &#39;&#38;page=1&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; hiddengrid: hideGrid<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .navGrid(item + &#39;Pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { refresh: false, view: false, edit: false, add: false, del: false, search: false }, //options <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {} // search options <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; )<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .navButtonAdd(item + &#39;Pager&#39;, { caption: "", title: "Select Columns", buttonimg: jQueryImageRoot + &#39;/column_Select.gif&#39;, position: &#39;last&#39;, onClickButton: null });</p>
]]></description>
        	        	<pubDate>Tue, 08 Feb 2011 20:38:20 +0200</pubDate>
        </item>
</channel>
</rss>