<?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: Sortable grid : placeholder does not show </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/sortable-grid-placeholder-does-not-show</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/sortable-grid-placeholder-does-not-show/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Loic on Sortable grid : placeholder does not show </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sortable-grid-placeholder-does-not-show#p23615</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sortable-grid-placeholder-does-not-show#p23615</guid>
        	        	<description><![CDATA[<p>Hi, and first of all thanks a lot for your wonderfull work !!</p>
<p>I want to use the sortable option of jqGrid ( rows sorting), everything seems to work fine except the &#39;placeholder&#39; option :&#160;</p>
<p>specify a classname in this option, even when using forcePlaceholderSize does nothing !</p>
<p>Did I miss something ?</p>
<p>Herre is the code :</p>
</p>
<pre>	$("#jqGridArticles").jqGrid(&#39;sortableRows&#39;,{
		placeholder:"ui-state-highlight",
		forcePlaceholderSize: true ,
		distance:15, 
		forceHelperSize: true,
		opacity: 0.6,
		tolerance: &#39;pointer&#39;,
		cursor: &#39;crosshair&#39;,
		start: function(e,u){ // r&#233;initialisation du r&#233;sultat pr&#233;c&#233;dent
			$("#topMessage").hide().html();
		},
		stop : function (event, ui) {
			var newOrder = $("#jqGridArticles").getRowData();  
			$.ajax({
				url:&#39;../ajax.php&#39;,
				data:{action:"sortArticles",newOrder:newOrder,id_origine:origine},
				success:function(reponse){
					reponse=JSON.parse(reponse);
					//console.log(reponse.statut);
					$("#topMessage").removeClass;
					$("#topMessage").addClass(reponse.statut).html(reponse.message).show();
					}
			});
		}
	}).disableSelection();
</pre>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 15 Jun 2011 15:51:38 +0300</pubDate>
        </item>
</channel>
</rss>