I want to delete a row in the grid, but the grid always post's only the id and oper, I also want to post additional data like rowID. The funny thing is that for editing a row the POST variables like rowID, idAsigurator,persoana, cilindree are present. For deleting a row only the id and oper variables are present.
My jqgrid is something like :
1 jQuery("#editgrid").jqGrid({<br /><br /> url:'autoXML.php',datatype: "xml",<br /><br />colNames:['RowID','Asigurator','Cilindree','Persoana', 'Perioada', 'Pret'],<br /><br /> colModel:[ {name:'rowID',index:'rowID', width:60, editable:true},<br /><br /> {name:'idAsigurator',index:'idAsigurator', width:100, editable:true,editoptions:{size:20}},<br /><br /> {name:'cilindree',index:'cilindree', width:90, editable:true,editoptions:{size:20}},<br /><br /> {name:'persoana',index:'persoana', width:300,editable:true,edittype:"select"},<br /><br /> {name:'perioada',index:'perioada', width:120, align:"right",edittype:"select",editable:true},<br /><br /> {name:'pret',index:'pret', width:80, align:"right",editable:true,editoptions:{size:20}} <br /><br /> ],<br /><br /> width:900, height:600, pager: '#pagered', sortname: 'rowID', viewrecords: true, <br /><br />sortorder: "desc", caption:"Autoturisme", editurl:"autoPOST.php"<br /><br />
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top