开发者

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

开发者 https://www.devze.com 2022-12-16 12:37 出处:网络
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.

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

精彩评论

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