I have 3 jqGrid instances on a page and all of them use the same grid data except it's filter开发者_如何转开发ed differently for each. I don't want to have to make a separate ajax call for each grid to load its data.
Is there a way for all 3 to work with the same data locally? I see the "loadonce" option but I don't think that's what I need, based on the docs.
I would suggest you make a single call using jQuery's ajax method, then update the grids manually using the addJSONData or addRowData methods on jqGrid.
精彩评论