Hello,
Check the example page – Custom editing with a buttons.
Regards
Tony
Hello,
Use FireBug to determine if you load all the needed javascript files.
Regards
Tony
Hello,
IMHO using datatype json will return the data in json format and not post it as json. For more info refere to jQuery ajax paramaters.
You can use onclickSubmit event for this purpose. This event should return array which is passed to the request.
Regards
Tony
Hello,
Do you have set viewrecords : true in the subgrid? By default this is false.
Thank you for the second issue. Yes, the steel theme is brand new and it needs to be refined.
Regards
Tony
Hello,
Plese explain wich version of jqGridf do you use? Also do you use minified or dev version?
Regards
Tony
Hello,
Which version of jqGrid do you use?
Tray to use the latest one. If you use previous versions this bug exists.
Regards
Tony
Hello,
jQuery(”#fechainginventario”).val(”45″);
Hello,
saveCell saves the current edited cell. If you try to save some cell dynamically you can use getCell method – something like
$(“#mybutton”).click(function(){
var rowid = $(“mygrid”).getGridParam('selrow'); //get the id of the current selected row. Can be a other thing.
var myceldata = $(“mygrid”).getCell(rowid,myiCol);
$.ajax({…}); //post your data here
});
Hello,
Your code will not work. I will try to set these as template.
Regards
Tony
Hello,
Use FireBug to see if all js files are loaded.
Regards
Tony
Hello,
Regards
Tony
Hello,
Use getRowData – and the documentation. It will be a good start.
Regards
Tony
Hello,
Use eval to to parse the string to json data.
Regards
Tony
Hello
How you try to “view the data”? – getRowData is not compatible with the editing mode. Also serch the forms foor this.
Regards
Tony
Hello,
$(“#mygrid”).navGrid('#mypager',{edit:true, add:true,…},
{}, // edit parameters
{ afterComplete: function(data, postdata, formid) {
// you can get here the id of the needed subgrid, or simple
$(“#subgrid”).editGridRow(“new”,params);
}
} // add parameters
….
});
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top