Question

I have just started using jqGrid, and I have some tables that I would like to display within it.

Can anyone tell me what the proper way would be to populate this grid using ASP.NET MVC? How do I pass information from my controller to the jqGrid? Does it need to be a particular format?

If anyone can provide some information regarding ASP.NET MVC + jqGrid I would appreciate it.

Was it helpful?

Solution

Your actions will return JSON typically.

Blog posts all over. Check here, here and here for the how to's

OTHER TIPS

Craig Stuntz has a good series on jqGrid as well, covering a variety of topics for it.

The best example in my opinion is phil hacck's "Using jQuery Grid With ASP.NET MVC". Phil also has a downloadable example you can play with.

Full dynamical jQGrid integration with asp.net MVC including bootstrap design is explained here http://www.techdoubts.net/2017/05/full-integration-dynamic-jqgrid-asp-net-mvc.html. Only required data is fetching from server side, it will increase you website speed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top