<?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: checkbox not showing</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing</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/help/checkbox-not-showing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>PeterB on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4482</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4482</guid>
        	        	<description><![CDATA[<p>Tony</p>
<p>The above code works okay (but it still doesn&#39;t render a checkbox) with the last production release of jqGrid. I only get that exception with latest beta release and it still occurs even when I take off the &#39;afterInsertRow&#39; event.</p>
]]></description>
        	        	<pubDate>Fri, 06 Feb 2009 12:19:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4440</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4440</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Try with pure grid only without any events?</p>
<p>"Object doesn&#39;t support this property or method" - means that something is wrong with your code.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 06 Feb 2009 02:38:15 +0200</pubDate>
        </item>
        <item>
        	<title>PeterB on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4419</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4419</guid>
        	        	<description><![CDATA[<p>Tony I&#39;ve tried that and still no luck ?</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 10:13:38 +0200</pubDate>
        </item>
        <item>
        	<title>tony on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4415</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4415</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Be a sure that the file is loaded. Also clear the cache- it should work.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 09:11:54 +0200</pubDate>
        </item>
        <item>
        	<title>PeterB on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4407</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4407</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
<p>Thanks for the reply-I tried that still no success - I included jquery.fmatter.js from 3.4 beta only. I then installed 3.4 beta in its entirety and then recieved "Object doesn&#39;t support this property or method" exception when calling jqGrid here is the code :-</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; $("#monitor").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;MonitorHandler.ashx?allData=true&#38;fcm=&#39; + getURLParam(&#39;fcm&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Firm&#39;, &#39;%Usage&#39;, &#39;Adj Max Quan&#39;, &#39;BD&#39;, &#39;SD&#39;, &#39;Current Pos&#39;, &#39;Max Quan&#39;, &#39;Pos Limit&#39;, &#39;All Out&#39;],<br />&#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;&#160;&#160;&#160;&#160; { name: &#39;CreditEntity&#39;, index: &#39;CreditEntity&#39;, width: 120, align: &#39;center&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Usage&#39;, index: &#39;Usage&#39;, width: 120, align: &#39;center&#39;, number: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;AdjMaxQuan&#39;, index: &#39;AdjMaxQuan&#39;, width: 130, align: &#39;center&#39;, number: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;BD&#39;, index: &#39;BD&#39;, width: 40, align: &#39;center&#39;, sortable: false, formatter: &#39;checkbox&#39;,editoptions:{value:"true:false"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;SD&#39;, index: &#39;SD&#39;, width: 40, align: &#39;center&#39;, sortable: false, formatter: &#39;checkbox&#39;,editoptions:{value:"true:false"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;CurrPos&#39;, index: &#39;CurrPos&#39;, width: 120, align: &#39;center&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;MaxQuan&#39;, index: &#39;MaxQuan&#39;, width: 120, align: &#39;center&#39;,number: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;PositionLimit&#39;, index: &#39;PositionLimit&#39;, width: 120, align: &#39;center&#39;, number: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;AllOut&#39;, index: &#39;AllOut&#39;, width: 80, align: &#39;center&#39;, sortable: false, formatter: &#39;checkbox&#39;,editoptions:{value:"true:false"}}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;CreditEntity&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; afterInsertRow: function(rowid, rdata) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (rdata.Usage &#62;= 50.0 &#38;&#38; rdata.Usage &#60; 80.0) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#&#39; + rowid, &#39;#monitor&#39;).css({ background: &#39;#FFFF00&#39; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else if (rdata.Usage &#62;= 80.0 &#38;&#38; rdata.Usage &#60; 90.0) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#&#39; + rowid, &#39;#monitor&#39;).css({ background: &#39;#DA70D6&#39; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else if (rdata.Usage &#62;= 90.0 ) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#&#39; + rowid, &#39;#monitor&#39;).css({ background: &#39;#FF0000&#39; })<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;jscript/themes/basic/images&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
</p>
<p>Any ideas ? Also can you tell me how I can change the color of a row dependant on its value after I have updated a row(s) using setRowData.</p>
</p>
<p>Thanks again Tony BTW great jQuery is a great piece of work</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 06:35:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4384</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4384</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In your case you will have checkbox when you edit the data. To solve this use the new formatter. You just need this:</p>
<p><span style="font-size: x-small;">{ name:</span></p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;BD&#39;</span></span><span style="font-size: x-small;">, index: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;BD&#39;</span></span><span style="font-size: x-small;">, width: 40, align: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;center&#39;</span></span><span style="font-size: x-small;">, sortable: </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span><span style="font-size: x-small;">,</span></p>
<p><span style="font-size: x-small;"><strong>formatter</strong>:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;checkbox&#39;</span></span><span style="font-size: x-small;">,editoptions:{value:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#8220;true:false&#8221;</span></span><span style="font-size: x-small;">}},</span></p>
<p>I.e replace edittype with formatter. Do not forget to include the jquery.fmatter.js from 3.4 beta.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 01:31:17 +0200</pubDate>
        </item>
        <item>
        	<title>PeterB on checkbox not showing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4332</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkbox-not-showing#p4332</guid>
        	        	<description><![CDATA[<p>Hi I wonder if you could help me in my colModel section I have defined a column with a (readonly) checkbox ie :-<span style="font-size: x-small;"><font size="2"></font></span></p>
<p>{ name:</p>
</p>
<p><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;BD&#39;</span></span><span style="font-size: x-small;">, index: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;BD&#39;</span></span><span style="font-size: x-small;">, width: 40, align: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;center&#39;</span></span><span style="font-size: x-small;">, sortable: </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">false</span></span><span style="font-size: x-small;">,edittype:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;checkbox&#39;</span></span><span style="font-size: x-small;">,editoptions:{value:</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"true:false"</span></span><span style="font-size: x-small;">}},</span></p>
<p><span style="font-size: x-small;">But when the table is displayed I see "true" or "false" in that column can you tell me where I&#39;ve gone wrong. The JSON data return by the server passes back "true"/"false" for this item.</span></p>
<p><span style="font-size: x-small;">Thanks</span></p></p>
]]></description>
        	        	<pubDate>Tue, 03 Feb 2009 12:24:39 +0200</pubDate>
        </item>
</channel>
</rss>