<?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: Help with sorting</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-sorting</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/help-with-sorting/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>some_one on Help with sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-sorting#p26698</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-sorting#p26698</guid>
        	        	<description><![CDATA[<p>I tried the loadonce:true which worked for allowing client side sorting, but then the paging stopped working and the grid only loaded the first 10 records.</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 30 May 2012 21:05:44 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Help with sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-sorting#p26697</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-sorting#p26697</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Note that you load just a file. There is no server side sorting.</p>
</p>
<p>In order to do what you want in this case you will need to set the grid parameter</p>
</p>
<p>loadonce: true</p>
</p>
<p>Additionalyy to that you will need to set a sorttype options in colModel.</p>
</p>
<p>see documentation.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 30 May 2012 18:47:48 +0300</pubDate>
        </item>
        <item>
        	<title>some_one on Help with sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-sorting#p26689</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-sorting#p26689</guid>
        	        	<description><![CDATA[<p>I have my grid loading properly and I would like to make the columns sortable. I have similar code to the online xml example but clicking the column headers does nothing. Thanks</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5887' value='Select Code' data-codeid='sfcode5887' /></p>
<div class='sfcode' id='sfcode5887'>
<p>&#160; jQuery(&#34;#props&#34;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160; url:&#39;data.xml&#39;,&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Id&#39;, &#39;Name&#39;, &#39;Common Name&#39;, &#39;Value&#39;, &#39;Desc&#39;],<br />&#160;&#160;&#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; {name:&#39;id&#39;, index:&#39;id&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; {name:&#39;name&#39;, index:&#39;name&#39;, hidden:true},&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; {name:&#39;commonName&#39;, index:&#39;commonName&#39;, width:255},<br />&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; {name:&#39;value&#39;, index:&#39;value&#39;, width:200},<br />&#160; &#160; &#160; &#160;&#160;&#160;&#160; {name:&#39;description&#39;, index:&#39;description&#39;, hidden:true}<br />&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160; &#160;&#160; rowNum:10,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; <br />&#160;&#160; &#160;&#160; height:&#39;auto&#39;,<br />&#160;&#160; &#160;&#160; pager: &#39;#pager&#39;,&#160;&#160; &#160;&#160;</p>
<p>&#160; &#160;&#160;&#160; sortname: &#39;commonName&#39;,&#160; <br />&#160;&#160; &#160;&#160; viewrecords: true<br />&#160; });</p>
</div>
]]></description>
        	        	<pubDate>Tue, 29 May 2012 22:17:53 +0300</pubDate>
        </item>
</channel>
</rss>