<?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: Adding columns dynamically</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/adding-columns-dynamically</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/adding-columns-dynamically/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Adding columns dynamically</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-columns-dynamically#p9318</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-columns-dynamically#p9318</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>IMHO there are two ways.</p>
<p>1. define all the possible columns in colModel and then use hideCol/showCol method to hide or show certain columns.</p>
<p>2. Use GridUnload and GridImport to do this. Also in this case the server should return the columnConfiguration. See docs for this. (The documaentatin should be more detailed for this purpose, but you can download the examples and see what is needed to do this)</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 04 Sep 2009 04:42:18 +0300</pubDate>
        </item>
        <item>
        	<title>boedi on Adding columns dynamically</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-columns-dynamically#p9221</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-columns-dynamically#p9221</guid>
        	        	<description><![CDATA[<p>hi all!</p>
<p>I&#39;d like to use jqgrid in a project which is used to manage permission and roles. to display the setting, I&#39;d like to have a row for each permission configured in the system. a permission may give access to anything for any role configured. the grid should look like:</p>
<p>permission &#124; role 1 &#124; role 2 &#124; role 3 &#124; role 4</p>
<p>________________________________</p>
<p>permi. 1&#160;&#160;&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160;&#160; no</p>
<p>________________________________</p>
<p>permi. 2&#160;&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160; yes</p>
</p>
<p>The problem is now that I&#39;d like to add columns (roles) depending on the answer I get from the server. How may I do this to achieve the following after a request?</p>
<p>permission &#124; role 1 &#124; role 2 &#124; role 3 &#124; role 4 &#124; role 5 &#124; role 6</p>
<p>___________________________________________</p>
<p>permi. 1&#160;&#160;&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160;&#160; yes</p>
<p>___________________________________________</p>
<p>permi. 2&#160;&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160; yes&#160;&#160;&#160;&#160;&#160;&#160; no&#160;&#160;&#160;&#160;&#160;&#160;&#160; yes</p>
</p>
<p>Thanks for your answer.</p>
</p>
<p>michael</p>
]]></description>
        	        	<pubDate>Wed, 02 Sep 2009 09:37:15 +0300</pubDate>
        </item>
</channel>
</rss>