I need to add additional dynamic parameter to jqGrid's POST
data when I'm adding new record with modal form.
I tried:
$('#table').setPostData({group: id});
$('#table').setPostDataItem('group', id);
$('#table').setGridParam('group', id);
and nothing worked out.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…