Forum
Topic RSS
15:52
20/02/2009
OfflineHello,
My delgridRow work on version 3.5.
before I use version 3.5 and after I use version 3.6.4 and Nothing work.
width:350,reloadAfterSubmit:true, modal:true, url:$url_aj,
beforeSubmit: function(invid){
var sr = jQuery('#contact').getGridParam('selrow');
var rowData = jQuery('#contact').getRowData(sr);
this.delData = {'invid': invid,type_requete:'suppression',mod_complet:$mod_complet};
retarr = this.delData;
return retarr;
},
afterSubmit: function(xhr,postdata){
var $si_delete_ok = xhr.responseText;
if ( $si_delete_ok != '0'){
alert($mess_suppression);
};
return [true]; /* Ne pas supprimer ce paramètre est nécessaire pour le GRID*/
}
}, /* delete options*/
Probably this.delData doesn't work! It's a very big problem.
Tony, please help me! It's very important! We can pass to version 3.6.4!
Regards!
Missa
19:44
Moderators
30/10/2007
OfflineHello,
Use onclickSubmit instead of beforeSubmit event like this - it will be the same:
onclickSubmit: function(invid){
var sr = jQuery('#contact').getGridParam('selrow');
var rowData = jQuery('#contact').getRowData(sr);
retarr = {'invid': invid,type_requete:'suppression',mod_complet:$mod_complet};
return retarr;
}
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 994
Currently Online:
42 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


