Hi there
I’me trying to put a working example of the jqgrid for a project. So far it is awesome, it is a great tool to use. However, I must have missed something, but I’m not getting the POST data to work correctly.
What happens is: POST data appears in firebug as a string (like this: respondido=0&id=1&edit=1), instead of a params list. Thus, It is not passed as a $_POST or $_REQUEST item.
Please check my code. The example.php is a standard php/mysql/soap encoder, and works perfectly, the example1.php just prints $_REQUIRE array for debug.
var lastsel2;
jQuery(document).ready(function(){
jQuery("#rowed5").jqGrid({
url:'/example.php?retrieve=1&nd='+new Date().getTime(),
datatype: "json",
colNames:,
colModel:[
{name:'criado_em desc',index:'criado_em', width:100, align:'center'},
{name:'nome',index:'nome', width:100},
{name:'assunto',index:'assunto', width:200},
{name:'lido_por',index:'lido_por', width:60, align:'right'},
{name:'lido_em',index:'lido_em', width:100, align: 'center'},
{name:'respondido',index:'respondido', width:55,align:"center", editable: true, edittype:"checkbox", editoptions: {value:'Sim:N
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top