<?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 - JSON vs XML</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml</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-json-vs-xml/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Ray Dube on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23170</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23170</guid>
        	        	<description><![CDATA[<p>Just a quick note to say thank you Tony for pointing me in the correct directions, the grid is working as perfectly as I should have had it had I spotted those items I missed.</p>
<p>Thanks for your help!</p>
<p>Ray</p>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 23:55:39 +0300</pubDate>
        </item>
        <item>
        	<title>Ray Dube on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23169</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23169</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
</p>
<p>Sorry, i must have missed that, saw most everything else, except for that item.</p>
<p>So, not json formatted, but standard html select element.&#160; I will try and advise if there are any issues.</p>
<p>Thank you,</p>
<p>Ray</p>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 22:36:40 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23167</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23167</guid>
        	        	<description><![CDATA[<p>Helllo,</p>
<blockquote>
<p>Yes, I read the entire documentation, and looked at that particular info for the new improvements, however,it states simply:</p>
<p>editoptions:{dataUrl:&#39;test.txt&#39;, defaultValue:&#39;Intime&#39;},</p>
<p>Which does nto really tell the format of the info in test.txt, if  it&#39;s in json or not, although another website does specify to enter the  information in semicolon separated data:</p>
</blockquote>
<p>Sorry to say, but it is not true. Did you read this?</p>
<p><a rel="nofollow" href="/jqgridwiki/doku.php?id=wiki:common_rules&#38;s=dataurl" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....;s=dataurl</p>
</p>
<p>Look at datUrl parameter at middle of the page.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 22:07:26 +0300</pubDate>
        </item>
        <item>
        	<title>Ray Dube on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23159</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23159</guid>
        	        	<description><![CDATA[<p>Yes, I read the entire documentation, and looked at that particular info for the new improvements, however,it states simply:</p>
<p>editoptions:{dataUrl:&#39;test.txt&#39;, defaultValue:&#39;Intime&#39;},</p>
<p>Which does nto really tell the format of the info in test.txt, if it&#39;s in json or not, although another website does specify to enter the information in semicolon separated data:</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit5808' value='Select Code' data-codeid='sfcode5808' /></p><div class='sfcode' id='sfcode5808'><div class=&#34;sfcode&#34;>{&#34;Countries&#34;:{&#34;Content&#34;:&#34;230:UNITED STATES;40:CANADA;7:AFGHANISTAN;</div>
etc.....   }}</div><br /><br />However, it does not specify it this is to be json encoded (which I assume, but does not work) <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_sad.gif" alt=":(" /> <br /><br />So, to refresh, format for the test.txt file is not specified, if it is I cannot find it.  I believe this should be correct, <br />but is not working correctly for me.<br /><p><input type='button' class='sfcodeselect' name='sfselectit6602' value='Select Code' data-codeid='sfcode6602' /></p><div class='sfcode' id='sfcode6602'><br />&#160;&#160;&#160; foreach ($query-&#62;result() as $row)<br />&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160; $response-&#62;rows[$i][&#39;id&#39;] = $row-&#62;id;<br />&#160;&#160;&#160;&#160;&#160; $response-&#62;rows[$i][&#39;cell&#39;] = array($row-&#62;id,$row-&#62;supplier_name);<br />&#160;&#160;&#160;&#160;&#160; $i++;<br />&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; echo json_encode($response);</div><br />Is this correct and simply an error in my part, or is the encoding for the dropdown (test.txt) not json?<br /><br />Thanks,<br />Ray</pre>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 16:04:59 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23150</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23150</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It seems to me that you do not read the documenation and do not go throught all examples into the demo.</p>
<p><a rel="nofollow" href="http://trirand.com/blog/jqgrid/jqgrid.html" target="_blank"></a><a href="http://trirand.com/blog/jqgrid" rel="nofollow" target="_blank">http://trirand.com/blog/jqgrid</a>.....qgrid.html</p>
</p>
<p>Are you sure you have check all the examples?</p>
<p>Please go to demo:</p>
<p><a rel="nofollow" href="http://trirand.com/blog/jqgrid/jqgrid.html" target="_blank"></a><a href="http://trirand.com/blog/jqgrid" rel="nofollow" target="_blank">http://trirand.com/blog/jqgrid</a>.....qgrid.html</p>
<p>Open the "New in version in 3.5&#8243; item and then select "Form Improvements"</p>
<p>Enjoy</p>
</p>
<p>Kind Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 13 May 2011 08:02:21 +0300</pubDate>
        </item>
        <item>
        	<title>Ray Dube on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23145</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23145</guid>
        	        	<description><![CDATA[<p>Ok, JSON or XML, it doesn&#39;t really make a difference, there doesn&#39;t appear to be any example showing how to populate the drop down select box with dynamic data.</p>
<p>That is, not to have the simple data listed in the grid options.</p>
<p>What I have is simple, a list of products, suppliers and product categories.&#160; Suppliers and Product Categories are simple lists from the database, Products include supplier id and category id, but display in the grid with product name, supplier name and category name.</p>
<p>What I need is a dropdown which will include the supplier id and name, which will be selectable when doing a form edit.</p>
<p>But I find no examle of how to properly create that select dropdown, and populate it with proper values.</p>
<p>I need your help, and a simple tutorial on how to do this properly.&#160; unfortunately I cannot find one.</p>
<p>Ray</p></p>
]]></description>
        	        	<pubDate>Thu, 12 May 2011 20:34:38 +0300</pubDate>
        </item>
        <item>
        	<title>Ray Dube on Dynamic Columns - JSON vs XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23103</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-columns-json-vs-xml#p23103</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have created my grid and user with success the edit, add and delete without issue, but of my 3 grids, one is pulling data from a table with related fields in another table, which needs to populate a proper dropdown box when editing.</p>
<p>Now I am using XML when creating the grid, but am having trouble finding the proper way of creating the select dropdown.&#160; It seems that most are using JSON.</p>
<p>Question, should I switch from XML to JSON, or is there an tutorial or set of instructions to use XML and sql to create the proper select dropdown.</p>
<p>Thanks,</p>
<p>Ray</p>
]]></description>
        	        	<pubDate>Tue, 10 May 2011 23:28:46 +0300</pubDate>
        </item>
</channel>
</rss>