Forum
July 12th, 2025
A
A
A
Topic RSS
Related Topics
Offline
The forums are currently locked and only available for read only access
Topic RSS
Related Topics
Sortable grid : placeholder does not show
15/06/2011
15:51
15:51
Loic
New Member
Members
Forum Posts: 1
Member Since:
15/06/2011
15/06/2011
OfflineHi, and first of all thanks a lot for your wonderfull work !!
I want to use the sortable option of jqGrid ( rows sorting), everything seems to work fine except the 'placeholder' option :
specify a classname in this option, even when using forcePlaceholderSize does nothing !
Did I miss something ?
Herre is the code :
$("#jqGridArticles").jqGrid('sortableRows',{
placeholder:"ui-state-highlight",
forcePlaceholderSize: true ,
distance:15,
forceHelperSize: true,
opacity: 0.6,
tolerance: 'pointer',
cursor: 'crosshair',
start: function(e,u){ // réinitialisation du résultat précédent
$("#topMessage").hide().html();
},
stop : function (event, ui) {
var newOrder = $("#jqGridArticles").getRowData();
$.ajax({
url:'../ajax.php',
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();
Thanks
Forum Timezone: Europe/Sofia
Most Users Ever Online: 994
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home