<?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: column width is resized when dragged</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/column-width-is-resized-when-dragged</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/column-width-is-resized-when-dragged/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bujoy on column width is resized when dragged</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-width-is-resized-when-dragged#p20079</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-width-is-resized-when-dragged#p20079</guid>
        	        	<description><![CDATA[<p>Hi, I am using JQuery 3.6.</p>
<p>To drag rows, i have tried both tableDnD and jqGrid(&#39;sortableRows&#39;).</p>
<p>However, I still have the same problem. WHen i select a row to drag, and moves the mouse diagonally up or simple drag it up until the table header is reached, the column widths change. On drop of the row, the widths goes back to it&#39;s normal width. </p>
<p>Anyone who has encountered the same problem?</p>
<p>Here&#39;s my code using tableDnD : </p>
<p> jQuery(document).ready(<br /> function()<br /> {<br /> jQuery("#WFList").tableDnD({scrollAmount:0});       <br /> jQuery(&#39;#WFList&#39;).jqGrid<br /> ({<br /> url :  &#39;documentWorkflowListJSON.htm?q=2&#39;,<br /> mtype: "POST",<br /> datatype: "json",<br /> colNames:[&#39;ID&#39;,&#39;1&#39;,&#39;2&#39;,&#39;3&#39;,&#39;status&#39;,&#39;title&#39;],<br /> colModel : [<br /> {index: &#39;Id&#39;, name : &#39;Id&#39;, sortable : false, align: &#39;center&#39;},<br /> {index: &#39;number&#39;, name : &#39;number&#39;, sortable : false, align: &#39;center&#39;},<br /> {index: &#39;numberDummy&#39;, name : &#39;numberDummy&#39;, width : 50, sortable : false, align: &#39;center&#39;},<br /> {index: &#39;status&#39;, name : &#39;status&#39;, sortable : false, align: &#39;center&#39;},<br /> {index: &#39;statusDisplay&#39;, name : &#39;statusDisplay&#39;, width : 240, sortable : false, align: &#39;center&#39;},<br /> {index: &#39;title&#39;, name : &#39;title&#39;, width : 240, sortable : false, align: &#39;left&#39;},<br /> ],<br /> width: 560,<br /> height: 130,<br /> hoverrows:false,<br /> viewrecords: true,<br /> loadui : &#39;block&#39;,<br /> imgpath: &#39;css/themes/redmond/images&#39;,<br /> emptyrecords: &#39;empty&#39;,<br /> shrinkToFit :false,<br /> beforeSelectRow: function(rowid, e) { return true; },<br /> multiselect:true,<br /> gridComplete: function(){<br /> $("#_empty","#WFList").addClass("nodrag nodrop"); <br /> jQuery("#WFList").tableDnDUpdate(); <br /> }         <br /> }<br /> );<br /> jQuery("#WFList").jqGrid(&#39;hideCol&#39;,["Id","number","status"]);  <br /> }<br /> );</p>
]]></description>
        	        	<pubDate>Thu, 30 Sep 2010 08:54:57 +0300</pubDate>
        </item>
</channel>
</rss>