I have been trying to get a grid to be updated from the datasource when a button is pushed.
So I have in the click event something like this:
$('#grid').jqGrid('trigger','reloadGrid');
However this does not work and I get an error thrown for unknown method 'trigger'
I have also tried
$('#grid').jqGrid('trigger("reloadGrid")');
How would I execute this function?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…