<?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: Turn Off Sorting On All Columns</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-sorting-on-all-columns</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/turn-off-sorting-on-all-columns/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Turn Off Sorting On All Columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-sorting-on-all-columns#p31276</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-sorting-on-all-columns#p31276</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Check your response what you return as colModel. Maybe you response containÂ  'sortable': 'false' instead of 'sortable':false</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 21 Oct 2014 18:52:46 +0300</pubDate>
        </item>
        <item>
        	<title>wheeliea on Turn Off Sorting On All Columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/turn-off-sorting-on-all-columns#p31250</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/turn-off-sorting-on-all-columns#p31250</guid>
        	        	<description><![CDATA[<p>I do not want to sort any of the columns in my jqGrid.Â  I have used 'sortable: false' on all columns in the column model, but the columns are still allowing sorting.Â  Below is my code to set up the grid:</p>
<p>$(document).ready(function () {</p>
<p>Â Â  $.ajax({</p>
<p>Â Â Â Â Â  type: "GET",</p>
<p>Â Â Â Â Â  url:Â  "BethTest?action=fetchData",</p>
<p>Â Â Â Â Â  dataType: "json",</p>
<p>Â Â Â Â Â  success:Â  function(result)</p>
<p>Â Â Â Â Â  {</p>
<p>Â Â Â Â Â Â Â Â  colN = result.names;</p>
<p>Â Â Â Â Â Â Â Â  colD = result.data;</p>
<p>Â Â Â Â Â Â Â Â  colM = result.model;</p>
<p>Â Â Â Â Â Â Â Â  jQuery("#list2").jqGrid({</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  datatype: "jsonstring",</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  colNames: colN,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  colModel: colM,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  datastr: colD,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  pager: "#pager2",</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  rowNum: 10,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  rowList: [10,20,30],</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  gridview: true,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  autoencode: true,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  loadonce: true,</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  caption: "My List"</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  })</p>
<p>Â Â Â Â Â Â Â Â  }</p>
<p>Â Â Â Â Â  })</p>
<p>})</p>
<p>}</p>
<p>The colModel looks like: {name: "name here", sortable: false, width: 100} this is the format for each row.</p>
]]></description>
        	        	<pubDate>Tue, 21 Oct 2014 16:22:10 +0300</pubDate>
        </item>
</channel>
</rss>