<?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: Populating Column Dynamically</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/populating-column-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/populating-column-dynamically/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>lfcmendes on Populating Column Dynamically</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/populating-column-dynamically#p26634</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/populating-column-dynamically#p26634</guid>
        	        	<description><![CDATA[<p>I got it using formatter. Thanks anyways for reading it <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Fri, 18 May 2012 19:50:25 +0300</pubDate>
        </item>
        <item>
        	<title>lfcmendes on Populating Column Dynamically</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/populating-column-dynamically#p26633</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/populating-column-dynamically#p26633</guid>
        	        	<description><![CDATA[<p>I have the following code below. The data gets populated dynamically for the &#39;ClientID&#39; no problems, the data for the &#39;State&#39; I need to be the same for all rows based on the selected value from the dropdown list. The value I am getting for that column on all rows is &#39;undefined&#39;, but if I alert($(&#39;#select_service&#39;).val()) I do get the value I want. Help?</p>
</p>
<p>$("#gridtbl").jqGrid({</p>
<p>datatype: &#39;json&#39;,</p>
<p>colNames: &#39;Client ID&#39;,</p>
<p>&#39;State&#39;],</p>
<p>colModel: [</p>
<p>{ name: &#39;ClientID&#39;, index: &#39;ClientID&#39;, width: 90 },</p>
<p>{ name: &#39;State&#39;, viewable: true, formatter: $(&#39;#select_service&#39;).val()}</p>
<p>],</p>
<p>rowNum: 10,</p>
<p>rowList: [10, 20, 30],</p>
<p>pager: &#39;#pggrid&#39;,</p>
<p>sortname: &#39;ClientId&#39;,</p>
<p>viewrecords: true,</p>
<p>sortorder: "desc",</p>
<p>jsonReader: {</p>
<p>repeatitems: false, id: "Id", root: function (obj) { return obj; }</p>
<p>},</p>
<p>caption: "Worklist",</p>
<p>height: &#39;100%&#39;,</p>
<p>width: &#39;900&#39;,</p>
<p>loadonce: true,</p>
<p>shrinkToFit: false,</p>
<p>gridComplete: function () { disableSelection(document.getElementById("gridtbl")); },</p>
<p>hidegrid: false</p>
<p>});</p>
]]></description>
        	        	<pubDate>Fri, 18 May 2012 19:37:02 +0300</pubDate>
        </item>
</channel>
</rss>