Hello,
my Grid is loaded but the gridComplete event is never fired.
What im doing wrong ?
Heres the code
jQuery(
datatype: getProducts,
colNames: [
colModel: [{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
{ name:
],
onSelectRow:
alert(
jQuery(
lastSel = ProductID;
}
jQuery(
jQuery(
}
}
jQuery(
lastSel = ID;
}
}
},
ajaxEditOptions: { contentType:
recreateForm:
serializeEditData:
},
editurl:
caption:
rowNum: 500,
rowList: [5, 10, 20, 50, 100],
sortname:
pager: jQuery(
sortorder:
viewrecords:
gridComplete:
alert(
},
loadComplete:
alert(
}
});
jQuery(
“#productGridView”).jqGrid({'ID', 'MakeId', 'Category', 'Segment', 'SubSegment', 'FLNr', 'ModName', 'MakeId1', 'Category1', 'Segment1', 'SubSegment1', 'FLNr1'],'ID', index: 'ID', width: 30, align: 'left' },'MakeId', index: 'MakeId', width: 30, align: 'left', editable: true, edittype: 'text' },'Category', index: 'Category', width: 50, align: 'left', editable: true, edittype: 'text' },'Segment', index: 'Segment', width: 50, align: 'left', editable: true, edittype: 'text' },'SubSegment', index: 'SubSegment', width: 50, align: 'left', editable: true, edittype: 'text' },'FLNr', index: 'FLNr', width: 50, align: 'left', editable: true, edittype: 'text' },'ModName', index: 'ModName', width: 80, align: 'left', editable: true, edittype: 'text' },'MakeId1', index: 'MakeId1', width: 50, align: 'left', editable: true, edittype: 'text' },'Category1', index: 'MakeId1', width: 50, align: 'left', editable: true, edittype: 'text' },'Segment1', index: 'MakeId1', width: 50, align: 'left', editable: true, edittype: 'text' },'SubSegment1', index: 'MakeId1', width: 50, align: 'left', editable: true, edittype: 'text' },'FLNr1', index: 'MakeId1', width: 50, align: 'left', editable: true, edittype: 'text' },function (ProductID) {if (ProductID && ProductID !== lastSel) {if (lastSel != null) {var bestaetigung = window.confirm('not saved! save ?');if (bestaetigung) {“wird gespeichert”);'#productGridView').saveRow((ID, true));else {'#productGridView').editRow(ID, true);'#productGridView').restoreRow(lastSel);else {'#productGridView').editRow(ProductID, true);”application/json” },true,function (postData) {return JSON.stringify(postData);”DataLoader.svc/EditProducts”,”Input Types”,'ProductID','#pageNavigation'),”desc”,true,function () {'komplett');function () {'Error');”#productGridView”).jqGrid('setGridHeight', 400);
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top