Hello,
Could you please try only this to be a sure that all subgrids are empty:
afterInsertRow: function(rowid,rowdata,rowelem){
Hello,
You should have a mail from me.
Regards
Tony
Hello,
I think that the problem is fixed. What return your afterSubmit event?
Check your code. Also make a simple test:
afterSubmit : function (data, postdata){
return [false,”I return false”];
}
and then
afterSubmit : function (data, postdata){
return [true,””];
}
I think hat the common problem here is how you interpred data, usually you should do
data.resoponseText
Regards
Tony
Hello,
That is exactly that I test currently- return false when enter key is pressed when saving the row.
Regards
Tony
Hello,
Your problem is not connected with jqGrid.
Regards
Tony
Hello,
Try with pure grid only without any events?
“Object doesn't support this property or method” – means that something is wrong with your code.
Regards
Tony
Hello LineOut,
Thank you. Fixed.
Regards
Tony
Hello,
Search data is a part of grid parameters.
try getGridParam('searchdata') – it will give you the needed.
Regards
Tony
Hello,
Be a sure that the file is loaded. Also clear the cache- it should work.
Regards
Tony
Hello,
Should check some things about this problem. Thank you.
REgards
Tony
Sorry,
Try this:
$(”#”+rowid+” td:eq(0)”).empty().unbind(”click”)
Hello,
This will be in 3.5 release which I expect to be done in end of March.
Regards
Tony
Hello,
You can use onInitializeForm and attach a Enter to submit the form
Use
onInitializeForm : function(formid) {
$('input',formid).keypress(function(e) {
if(EnterKey is pressed) {
$(”#sData”,formid).trigger(”click”);
return false;
}
});
}
Hello,
Use onSortCol which is fired before populating the grid something like
onSortCol(colname, colindes, sortorder) {
if(some condition) {
$(“#mygrid”).setGridParam({datatype:'json'});
}
}
If you want to go back after this use loadComplete to set the datatype local.
Regards
Tony
Hello,
This will be changed when I make the grid compatible wit UI theme roller.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top