<?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: setColumn data after .POST</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setcolumn-data-after-post</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/setcolumn-data-after-post/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>JonL on setColumn data after .POST</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcolumn-data-after-post#p15764</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcolumn-data-after-post#p15764</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I tried to export the grid setting after the user move the columns/change width by doing a .post to a xhttprequest.</p>
</p>
<p>First question: I am able to locate the change width event, but is there an event when the user drag and move the header column.</p>
</p>
<p>Second Question: after&#160;I do a .post to save the config setting to database, if I&#160;drag and drop header, the data doesn&#39;t match up with the header anymore. Should I do a&#160;</p>
<p><span style="font-size: x-small;">jQuery(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;#list1&#39;</span></span><span style="font-size: x-small;">).trigger(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">"reloadGrid"</span></span><span style="font-size: x-small;">); </span></p>
<p><span style="font-size: x-small;">Or something like that?</span></p>
</p>
<p><span style="font-size: x-small;">s = jQuery(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;#list1&#39;</span></span><span style="font-size: x-small;">).jqGrid(</span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;jqGridExport&#39;</span></span><span style="font-size: x-small;">, { exptype: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;xmlstring&#39;</span></span><span style="font-size: x-small;">, root: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;grid&#39;</span></span><span style="font-size: x-small;">, ident: </span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">&#39;\t&#39;</span></span><span style="font-size: x-small;"> });</span></p>
<p>$.post("some.ashx", {configxml: s});</p>
<p>Thanks in advance.</p>
<p>JonL</p></p>
]]></description>
        	        	<pubDate>Tue, 16 Mar 2010 23:52:54 +0200</pubDate>
        </item>
</channel>
</rss>