开发者

Multiple JqGrids on same View/Page in ASP.net MVC

This is NOT a Master/Detail question.

I am using ASP.Net MVC and trying to display several jqGrids on the same page from different data sources in a tabbed interface.

However, when the page loads each jqGrid has the layout and data for开发者_JS百科 the last jqGrid that is defined on the page. Is it possible to have two unrelated jqGrids on the same view/page?

When I load each jqGrid separately, the data displays in each one, as it should. However, when loading all at once, it does what I said earlier.


This should be possible. What do you mean by "load separately" - how do you load "not separately"? Can you show a bit of code? Do you use different IDs for corresponding grid's HTML elements?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜