<?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: JqGrid is not sorting</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-is-not-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/discussion/jqgrid-is-not-sorting/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>lavanyadeepak on JqGrid is not sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-is-not-sorting#p27020</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-is-not-sorting#p27020</guid>
        	        	<description><![CDATA[<p>JqGrid is not doing any sorting. Following is my grid specification</p>
<pre> jQuery().ready(function () {
        jQuery("#list1").jqGrid({
            url: &#39;&#60;%=strAppVirtualPath %&#62;/app/handlers/helper.ashx?type=test&#39;,
            datatype: "xml",
            colNames: [&#39;Project Id&#39;, &#39;Project Name&#39;, &#39;Group&#39;, &#39;Description&#39;, &#39;RTS&#39;, &#39;RFD&#39;, &#39;Project Status&#39;],
            colModel: [
   		{ name: &#39;projectid&#39;, index: &#39;id&#39;, width: 75, sortable: true },
   		{ name: &#39;projectname&#39;, index: &#39;invdate&#39;, width: 90, sortable: true },
   		{ name: &#39;group&#39;, index: &#39;name&#39;, width: 100, sortable: false },
   		{ name: &#39;description&#39;, index: &#39;amount&#39;, width: 80, align: "right", sortable: false },
   		{ name: &#39;rts&#39;, index: &#39;tax&#39;, width: 80, align: "right", sortable: false },
   		{ name: &#39;rfd&#39;, index: &#39;total&#39;, width: 80, align: "right", sortable: false },
   		{ name: &#39;projectstatus&#39;, index: &#39;note&#39;, width: 150, sortable: false }
   	],
            rowNum: 100,
            autowidth: true,
            rowList: [10, 20, 30],
            pager: jQuery(&#39;#pager1&#39;),
            sortname: &#39;id&#39;,
            viewrecords: false,
            /* height:&#39;20%&#39;, */
            sortorder: "desc",
            caption: "Project List",
            loadonce: true,
            multiselect: true,
            loadComplete: function () {
                jQuery("#list1").trigger("reloadGrid"); // Call to fix client-side sorting
            },
            shrinkToFit: true
        }).navGrid(&#39;#pager1&#39;, { edit: false, add: false, del: false })
          .hideCol(&#39;cb&#39;);
    });
</pre>
]]></description>
        	        	<pubDate>Wed, 25 Jul 2012 19:44:37 +0300</pubDate>
        </item>
</channel>
</rss>