<?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: Dynamic Column</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-column</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/dynamic-column/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Dynamic Column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-column#p30979</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-column#p30979</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Once created the colModel of the grid can not be changed after this.</p>
<p>Â </p>
<p>You can construct the columsn af the grid if you use ajax like this</p>
<p>Â </p>
<p><input type='button' class='sfcodeselect' name='sfselectit1526' value='Select Code' data-codeid='sfcode1526' /></p>
<div class='sfcode' id='sfcode1526'>
$.ajax({</p>
<p>url : "yourjsonurl",</p>
<p>dataType: "json",</p>
<p>success : function(data, status, xhr) {</p>
<p>// get the colmodel form the dat lsomething like this:</p>
<p>var myColModel = data.colModel;</p>
<p>....</p>
<p>Â </p>
<p>$("#grid").jqGrid({</p>
<p>....</p>
<p>colModel : myColModel,</p>
<p>...</p>
<p>});</p>
<p>Â </p>
</div>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 13:27:44 +0300</pubDate>
        </item>
        <item>
        	<title>trishasales on Dynamic Column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-column#p30970</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-column#p30970</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I noticed that the column model is also in JSON format. I was just wondering if there was a way for me to pass a url of the JSON data so that I can make the column construction dynamic?</p>
<p>Â </p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Tue, 19 Aug 2014 16:52:19 +0300</pubDate>
        </item>
</channel>
</rss>