<?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: checkboxes are not displayed</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/checkboxes-are-not-displayed</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/checkboxes-are-not-displayed/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>amigo18 on checkboxes are not displayed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/checkboxes-are-not-displayed#p22276</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/checkboxes-are-not-displayed#p22276</guid>
        	        	<description><![CDATA[<p>Hi!&#160; I&#39;ve just started to use jqGrid. My html (from example):</p>
</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;<br />&#60;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&#62;<br />&#60;head&#62;<br />&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;<br />&#60;title&#62;My First Grid&#60;/title&#62;<br />&#160;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/redmond/jquery-ui-1.8.10.custom.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;</p>
<p>&#60;style&#62;<br />html, body {<br />&#160;&#160;&#160; margin: 0;<br />&#160;&#160;&#160; padding: 0;<br />&#160;&#160;&#160; font-size: 75%;<br />}<br />&#60;/style&#62; </p>
<p>&#60;script src="js/jquery-1.4.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript"&#62;<br />$(function(){&#160;&#160; &#160;<br />&#160;&#160; &#160;jQuery("#list4").jqGrid({ <br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: "local", <br />&#160;&#160; &#160;&#160;&#160; &#160;height: 198, <br />&#160;&#160; &#160;&#160;&#160; &#160;width:700,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Notes&#39;,&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;checkbox&#39;], <br />&#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:60, sorttype:"int"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, sorttype:"date",editable:true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;name&#39;,index:&#39;name&#39;, width:100}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right",sorttype:"float"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right",sorttype:"float"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right",sorttype:"float"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;note&#39;,index:&#39;note&#39;, width:140, sortable:false},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;checkbox&#39;, index:&#39;checkbox&#39;,editable:true, edittype:&#39;checkbox&#39;, width:35, formatter:&#39;checkbox&#39;,formatoptions:{disabled: false}}], <br />&#160;&#160; &#160;&#160;&#160; &#160;multiselect: false, <br />&#160;&#160; &#160;&#160;&#160; &#160;caption: "Manipulating Array Data" <br />&#160;&#160; &#160;}); <br />&#160;&#160; &#160;<br />&#160;&#160; &#160;var mydata = [ &#160;&#160; &#160;{checkbox:0,id:"1",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{checkbox:1,id:"2",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {MyCol:true,id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"}, {MyCol:true,id:"4",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"}, {MyCol:true,id:"5",invdate:"2007-10-05",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"}, {MyCol:true,id:"6",invdate:"2007-09-06",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"}, {MyCol:true,id:"7",invdate:"2007-10-04",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"}, {MyCol:true,id:"8",invdate:"2007-10-03",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"}, &#160;&#160; &#160;{MyCol:true,id:"9",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"}]; <br />&#160;&#160; &#160;for(var i=0;i&#60;=mydata.length;i++) <br />&#160;&#160; &#160;&#160;&#160; &#160;jQuery("#list4").jqGrid(&#39;addRowData&#39;,i+1,mydata[i]); <br />})<br />&#60;/script&#62;<br />&#160;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table id="list4"&#62;&#60;/table&#62; <br />&#60;/body&#62;<br />&#60;/html&#62;</p>
<p>The problem is "checkbox" column is displayed like int, but not like checkbox. There is no &#60;input type=checkbox&#62; inside.</p>
<p>How to manage it? I wonna see checkboxes</p>
]]></description>
        	        	<pubDate>Wed, 02 Mar 2011 10:30:43 +0200</pubDate>
        </item>
</channel>
</rss>