how to trigger onclicksubmit
event in jqgrid
manually?
I have a condition ,if it is true I want to call the submit event manually. Please take a look at the code.
afterShowForm: function (formid) {
if (condition) {
jQuery("#editmodgrid").trigger('submit');
}
}