I was wanting to get beforeSubmit working .
colModel: [...],
onSelectRow : function(id)
{
alert("Hi");
},
beforeSubmit:function(postdata, formid) {
alert("In beforeSubmit");
},
I have onSelectRow firing but beforeSubmit won’t fire. This is for a grid in inline edit mode.
Have I got it in the right place? I’m beginning to wonder if this method is only for form edits?
beforeSubmit exists only in case of the usage of form editing. You don’t described which kind of work you want to do before sending the data to the server, but I suppose you can use serializeRowData event in your case.