<?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: JSON for update multple columns groups</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/json-for-update-multple-columns-groups</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/json-for-update-multple-columns-groups/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>KristKing on JSON for update multple columns groups</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-for-update-multple-columns-groups#p27848</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-for-update-multple-columns-groups#p27848</guid>
        	        	<description><![CDATA[<p>so, i solved&#160;</p>
<p>html</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1574' value='Select Code' data-codeid='sfcode1574' /></p>
<div class='sfcode' id='sfcode1574'>&#160; &#60;/div&#62;&#160; &#160; 	&#60;table id=&#34;list4&#34;&#62;&#60;/table&#62;&#60;div id=&#34;centerCuerpo&#34;&#62;</div>
<p>first load into $(document).ready(</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5886' value='Select Code' data-codeid='sfcode5886' /></p>
<div class='sfcode' id='sfcode5886'>jQuery(&#34;#list4&#34;).jqGrid(		{			datatype: &#34;local&#34;,			height: 350,			width: 420,			colNames:[&#39;#&#39;,&#39;RUT&#39;, &#39;NOMBRE&#39;],			colModel:[				{name:&#39;IND&#39;,index:&#39;IND&#39;, width:20,align:&#39;center&#39;},				{name:&#39;RUT_DESP&#39;,index:&#39;RUT_DESP&#39;, width:100,align:&#39;center&#39;},				{name:&#39;NOMBRE_DESP&#39;,index:&#39;RUT_DESP&#39;, width:300,editable:true},			],			multiselect: true,			caption: &#34;caption caption&#34;		});</div>
<p>onchange or click any event</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6706' value='Select Code' data-codeid='sfcode6706' /></p>
<div class='sfcode' id='sfcode6706'>$(&#34;#prueba&#34;).click(function(){			$(&#39;#centerCuerpo&#39;).html(&#39;&#39;);			var elem = $(document.createElement(&#39;table&#39;)).attr(&#39;id&#39;,&#39;list4&#39;).appendTo(&#39;#centerCuerpo&#39;);			var componente 	= $(&#34;#componente&#34;).val();			var grupo 		= $(&#34;#grupo&#34;).val();						jQuery(&#34;#list4&#34;).jqGrid(			{				datatype: &#34;local&#34;,				height: 350,				width: 720,				colNames: myConfigColum[colNames][componente][grupo],				colModel: myConfigColum[colModel][componente][grupo],				multiselect: true,				caption: &#34;caption of caption&#34;			});		});</div>
</p>
<p>not very elegant but it works</p>
]]></description>
        	        	<pubDate>Tue, 04 Dec 2012 21:50:15 +0200</pubDate>
        </item>
        <item>
        	<title>KristKing on JSON for update multple columns groups</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-for-update-multple-columns-groups#p27847</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-for-update-multple-columns-groups#p27847</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>thank you very much for this application and excuse my english.</p>
<p>but I have a problem, I carry an array with the data</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6206' value='Select Code' data-codeid='sfcode6206' /></p>
<div class='sfcode' id='sfcode6206'>var mydata = {				&#34;C&#34;:{&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 		&#34;A&#34;:[{&#34;IND&#34;:&#34;1&#34;,&#34;RUT_DESP&#34;:&#34;1111111&#34;,&#34;NOMBRE_DESP&#34;:&#34;nombre1 nombre2 apellido1 apellido 2&#34;},{&#34;IND&#34;:&#34;1&#34;,&#34;RUT_DESP&#34;:&#34;33333&#34;,&#34;NOMBRE_DESP&#34;:&#34;nombre1 nombre2 apellido1 apellido 2&#34;}],						&#34;B&#34;:[{&#34;IND&#34;:&#34;1&#34;,&#34;RUT_DESP&#34;:&#34;222222&#34;,&#34;NOMBRE_DESP&#34;:&#34;nombre1 nombre2 apellido1 apellido 2&#34;}]&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#34;T&#34;:{&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 		&#34;A&#34;:[{&#34;IND&#34;:&#34;1&#34;,&#34;RUT_DESP&#34;:&#34;1111111&#34;,&#34;NOMBRE_DESP&#34;:&#34;nombre1 nombre2 apellido1 apellido 2&#34;,&#34;CASO&#34;:&#34;122-k&#34;}],						&#34;B&#34;:[{&#34;IND&#34;:&#34;1&#34;,&#34;RUT_DESP&#34;:&#34;555555&#34;,&#34;NOMBRE_DESP&#34;:&#34;nombre1 nombre2 apellido1 apellido 2&#34;,&#34;CASO&#34;:&#34;122-k&#34;}]&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;},&#160; &#160; &#160; &#160; &#160; &#160; &#160;}</div>
<p>and whit select change the data</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3914' value='Select Code' data-codeid='sfcode3914' /></p>
<div class='sfcode' id='sfcode3914'>$(&#34;#grupo&#34;).change(function(){			$(&#39;#list4&#39;).jqGrid(&#34;clearGridData&#34;, true);			var componente 	= $(&#34;#componente&#34;).val();			var grupo 		= $(&#34;#grupo&#34;).val();			&#160; &#160; 		for(var i=0 ; i&#60;= mydata[componente][grupo].length ; i++)			{				jQuery(&#34;#list4&#34;).jqGrid(&#39;addRowData&#39;,i+1,mydata[componente][grupo][i]);			}		});</div>
</p>
<p>&#160;but the columns do not match and I have to remove (not hide) or add some and not how I had updateColumns thought the idea is generarme JSON array with columns like data, is able to do that?</p>
]]></description>
        	        	<pubDate>Tue, 04 Dec 2012 20:08:37 +0200</pubDate>
        </item>
</channel>
</rss>