<?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: How to set the colmodel to editable/not editable base data received</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-set-the-colmodel-to-editablenot-editable-base-data-received</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/how-to-set-the-colmodel-to-editablenot-editable-base-data-received/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>doomsayer16 on How to set the colmodel to editable/not editable base data received</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-set-the-colmodel-to-editablenot-editable-base-data-received#p18756</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-set-the-colmodel-to-editablenot-editable-base-data-received#p18756</guid>
        	        	<description><![CDATA[<p>i&#39;m kinda new with jqgrid..i would like my colmodel to be dynamic based on the data received from the xml</p>
<p>my colmodel looks like this.</p>
<p>&#160;colModel: [{name: &#39;id&#39;,index: &#39;id&#39;,width: 120,key: true,xmlmap: "invoiceID"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; {name: &#39;value&#39;,index: &#39;value&#39;,width: 150,sortable: false,xmlmap: "invoiceMenu"}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; {name: &#39;unit&#39;,width: 55,xmlmap: "invoiceAaa"},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; {name:&#39;get&#39;,label:&#39;get&#39;, width:60, align:"center", editable:true,formatter:&#39;checkbox&#39;,edittype:"checkbox"}</p>
<p>&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160; ]</p>
</p>
<p>My xml looks like this</p>
<p>&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62; <br />&#60;invoices&#62; <br />&#160;&#160; &#160;&#60;request&#62;true&#60;/request&#62;<br />&#160;&#160; &#160;&#60;currentpage&#62;1&#60;/currentpage&#62; <br />&#160;&#160; &#160;&#60;totalpages&#62;1&#60;/totalpages&#62; <br />&#160;&#160; &#160;&#60;totalrecords&#62;6&#60;/totalrecords&#62; <br />&#160;&#160; &#160;&#60;invoice&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;asin&#62;12385&#60;/asin&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;invoiceID&#62;1&#60;/invoiceID&#62; <br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;invoiceMenu&#62;Tabelle&#60;/invoiceMenu&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;invoiceAaa&#62;1a2&#60;/invoiceAaa&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;Get&#62;true&#60;/Get&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;level&#62;0&#60;/level&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;parent&#62;NULL&#60;/parent&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;isLeaf&#62;false&#60;/isLeaf&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;expanded&#62;false&#60;/expanded&#62;<br />&#160;&#160; &#160;&#60;/invoice&#62;</p>
<p>&#60;invoices&#62;</p>
</p>
<p>i want my GET column to be either editable or not editable based on the xml tag &#60;Get&#62;true&#60;/Get&#62;</p>
</p>
<p>please help me</p>
]]></description>
        	        	<pubDate>Fri, 23 Jul 2010 08:48:23 +0300</pubDate>
        </item>
</channel>
</rss>