<?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: Drag and Drop shifts grid columns alignment</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment</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/bugs/drag-and-drop-shifts-grid-columns-alignment/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>KusTov on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p10040</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p10040</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>I fixed the problem this way:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9181' value='Select Code' data-codeid='sfcode9181' /></p>
<div class='sfcode' id='sfcode9181'>jQuery("#mygrid").tableDnD({<br /> &#160;&#160;&#160;&#160;&#160; onDrop: function(table, row) { jQuery("#mygrid")[0].updateColumns();} <br /> });</div>
<p><input id="gwProxy" type="hidden" /><!--Session data--><input id="jsProxy" onclick="jsCall();" type="hidden" /></p>
]]></description>
        	        	<pubDate>Wed, 23 Sep 2009 07:06:01 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6959</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6959</guid>
        	        	<description><![CDATA[<p>The updateColumns() needs to be used like that off below:</p>
<p>var mygrid= jQuery(&#8221;#list&#8221;)[0];<br /> mygrid.updateColumns();</p>
<p>-Praveen</p></p>
]]></description>
        	        	<pubDate>Thu, 28 May 2009 21:25:28 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6865</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6865</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You should use this method in the tablednd when the drag and drop ends. Also see the docs for the tablednd.</p>
<p>Something like if the new column is draged apply updateColumns</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 01:31:41 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6860</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6860</guid>
        	        	<description><![CDATA[<p>In the recent 3.5.beta release there is a new method called:</p>
<p>jQuery(&#8221;#mygrid&#8221;).updateColumns();</p>
<p>which I believe will sort this issue, if I am right in my understanding.</p>
<p>Need to confirm with Tony.</p>
<p>But when I try to use this method in "gridComplete" event like that of the below:<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridComplete: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#list&#39;).tableDnDUpdate();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#list&#39;).updateColumns();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />I get a message saying that "<br />updateColumns()" is undefined. This is happening in IE 7.0 and I am using the <br />latest source code from GitHub.<br />Appreciate your response on this Tony.</p>
<p>Regards,<br />Praveen</p>
]]></description>
        	        	<pubDate>Sun, 24 May 2009 21:20:41 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6859</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6859</guid>
        	        	<description><![CDATA[<p>Thanks for your response!</p>
<p>I tried the suggestion, which is I believe commenting off the below line of code in the "ui.grid.css"</p>
<p>.ui-jqgrid .ui-jqgrid-btable {table-layout:fixed;}</p>
<p>The drag and drop seems to be fine, but unfortunately the grid column rendering is not in line with the header, even after commenting off the below line in the same CSS file:</p>
<p>.ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;}</p>
<p>-Praveen</p>
]]></description>
        	        	<pubDate>Sun, 24 May 2009 19:24:33 +0300</pubDate>
        </item>
        <item>
        	<title>unintention on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6851</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6851</guid>
        	        	<description><![CDATA[<p>I&#39;ve noticed this since 3.5 alfa.&#160; Inspecting the rows in Firebug, I noticed that only the cells in the first row are getting their widths set by jqGrid, so when the first row is moved (or bumped out of first position), it no longer sets the widths for the entire columns. I simply removed &#8220;table-layout: fixed;&#8221; from my custom styles and that works for me&#8230;for now&#8230;</p>
]]></description>
        	        	<pubDate>Fri, 22 May 2009 15:38:27 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Drag and Drop shifts grid columns alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6828</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/drag-and-drop-shifts-grid-columns-alignment#p6828</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Wondering, is anyone having a similar issue when doing a drag and drop of rows within the grid.&#160; Please have a look at the screen-shot below on what I am referring to:</p>
<p><a href="http://picasaweb.google.com.au/Praveen.RajendraBabu/TechnicalLearnings?authkey=Gv1sRgCL-T-4D6_JLO4gE#5338129272840046178" rel="nofollow" target="_blank"><a href="http://picasaweb.google.com.au" rel="nofollow">http://picasaweb.google.com.au</a>.....2840046178</a></p>
<p>This happens only when you drag a row to the topmost position of the grid - both IE 7.0 and FF 3.0.</p>
<p>Any help and guidance suggested.</p>
<p>-Praveen</p></p>
]]></description>
        	        	<pubDate>Wed, 20 May 2009 23:30:53 +0300</pubDate>
        </item>
</channel>
</rss>