<?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 disable sortablerows</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-disable-sortablerows</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/jqgrid-disable-sortablerows/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>gurun8 on jqGrid disable sortablerows</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-disable-sortablerows#p16984</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-disable-sortablerows#p16984</guid>
        	        	<description><![CDATA[<p>Thought I&#39;d share my solution to the problem:</p>
<pre class="prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit2110' value='Select Code' data-codeid='sfcode2110' /></p><div class='sfcode' id='sfcode2110'><p><input type='button' class='sfcodeselect' name='sfselectit7951' value='Select Code' data-codeid='sfcode7951' /></p><div class='sfcode' id='sfcode7951'>$(&#34;#list tbody&#34;).sortable(&#34;destroy&#34;);</div><br /></div></pre>
]]></description>
        	        	<pubDate>Thu, 06 May 2010 20:33:13 +0300</pubDate>
        </item>
        <item>
        	<title>gurun8 on jqGrid disable sortablerows</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-disable-sortablerows#p16832</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-disable-sortablerows#p16832</guid>
        	        	<description><![CDATA[<div class="post-text">
<p>I&#39;m trying to disable sortablerows functionality from  a grid.  I&#39;d like to have the ability to toggle on/off the sortablerows  functionality.  Enabling the feature is pretty straightforward:</p>
<pre class="prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit5988' value='Select Code' data-codeid='sfcode5988' /></p><div class='sfcode' id='sfcode5988'><br />jQuery("#list").jqGrid(&#39;sortableRows&#39;, {<br />&#160; &#160; &#160;update: function(event, ui) { updateOrder() }<br />});<br /><br /></div></pre>
<p>But disabling the feature has proven to be a little bit harder.  I&#39;ve  consulted the UI Integrations where </p>
<p><input type='button' class='sfcodeselect' name='sfselectit6333' value='Select Code' data-codeid='sfcode6333' /></p>
<div class='sfcode' id='sfcode6333'>sortableRows</div>
<p> is  documented in the jqGrid Wiki:</p>
</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ui_methods</a></p>
</p>
<p>And found that "The method is fully compatible with jQuery UI  sortable widget."  So I ventured off to the jQuery UI sortable  documentation and found this:</p>
</p>
<p><a rel="nofollow" href="http://jqueryui.com/demos/sortable/" target="_blank">http://jqueryui.com/demos/sortable/</a></p>
<pre class="prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit822' value='Select Code' data-codeid='sfcode822' /></p><div class='sfcode' id='sfcode822'><br />jQuery("#list").jqGrid(&#39;sortableRows&#39;, {disabled: true});<br /></div></pre>
</p>
<p>The code above simply disables the rows.  So I moved onto the </p>
<p><input type='button' class='sfcodeselect' name='sfselectit6885' value='Select Code' data-codeid='sfcode6885' /></p>
<div class='sfcode' id='sfcode6885'>destroy</div>
<p> method:</p>
<pre class="prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit2271' value='Select Code' data-codeid='sfcode2271' /></p><div class='sfcode' id='sfcode2271'><br />jQuery("#list").jqGrid(&#39;sortableRows&#39;, {destroy: true});<br /><br /></div></pre>
<p>but that doesn&#39;t do anything.  Based upon the documentation the </p>
<p><input type='button' class='sfcodeselect' name='sfselectit6869' value='Select Code' data-codeid='sfcode6869' /></p>
<div class='sfcode' id='sfcode6869'>destroy</div>
<p> method seems to be exactly what I need, so maybe my syntax is wrong but  I can&#39;t seem to get it to work.</p>
<p>Does anyone have experience with this same issue?</p>
</div>
]]></description>
        	        	<pubDate>Sat, 01 May 2010 18:44:27 +0300</pubDate>
        </item>
</channel>
</rss>