<?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: Add new form elements not in sync with data grid elements.</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/add-new-form-elements-not-in-sync-with-data-grid-elements</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/bugs/add-new-form-elements-not-in-sync-with-data-grid-elements/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tim on Add new form elements not in sync with data grid elements.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/add-new-form-elements-not-in-sync-with-data-grid-elements#p11206</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/add-new-form-elements-not-in-sync-with-data-grid-elements#p11206</guid>
        	        	<description><![CDATA[<p style="padding-left: 30px;">Nevermind this post -&#160; i was mistaken - ColModel is a list so I can re-order the data.</p>
<p style="padding-left: 30px;">Thanks,</p>
<p style="padding-left: 30px;">tim</p>
<p style="padding-left: 30px;">&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9026' value='Select Code' data-codeid='sfcode9026' /></p>
<div class='sfcode' id='sfcode9026'>
<p style="padding-left: 30px;">&#39;orderby&#39; is used to determine the ordered layout of columns in both the grid and the forms.</p>
<p style="padding-left: 30px;">if the column attributes within &#39;colModel&#39; are not in the same order, I have discovered data from &#39;add&#39; forms are being stored in the grid fields incorrectly. They save following the colModel order which is not used in the gridlayout. They should be saving using the &#39;orderby&#39; order.</p>
<p style="padding-left: 30px;">One might suggest to just order colModel the same as orderby, but orderby is a &#39;list&#39; where as colModel is an &#39;array&#39; of key:value pairs. Many languages have table-tojson parsers/combinators that will not be sortable without significant performance overhead and/or bloatware code.</p>
<p style="padding-left: 30px;">It would be nice if this could be fixed.</p>
</div>
<p style="padding-left: 30px;">&#160;</p>
<p>thanks,</p>
<p>tim</p></p>
]]></description>
        	        	<pubDate>Wed, 28 Oct 2009 19:40:49 +0200</pubDate>
        </item>
</channel>
</rss>