开发者

jqGrid data loading

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜