<?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 columns</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns</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-columns/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Dynamic columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns#p9443</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns#p9443</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Maybe you can use GridImport method where your colModel can be defined as JSON or xml</p>
<p>Best Reagrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 08:21:55 +0300</pubDate>
        </item>
        <item>
        	<title>dario on Dynamic columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns#p9358</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns#p9358</guid>
        	        	<description><![CDATA[<p>Hi eveybody</p>
</p>
<p>I&#39;m looking for a way to change dynamically the column model depending on a parameter sent from the server and encoded in json. More precisely, this parameters indicates the number of the columns to be displayed in the grid.</p>
</p>
<p>At the moment, I&#39;m using this approach: I define a grid with a column model containing lot of columns, then I hide the redundant columns using hideCol witihin the event "loadComplete".</p>
<p>I was wondering if there&#39;s a more elegant way to do this...maybe I can first load data using a json request, parse the number of columns and then defining the column model with th right number of columns...in this case is there&#39;s a way to pass the available data to the grid without having it to load from the server?</p>
</p>
<p>Or is there another way to do the same thing?</p>
</p>
<p>Thanks in advance</p></p>
]]></description>
        	        	<pubDate>Fri, 04 Sep 2009 10:16:23 +0300</pubDate>
        </item>
</channel>
</rss>