From last couple of months I was planning to create working demo for JQgrid using MVC and finally succeeded .It turns out it is not that hard to do. You just have to be very careful with the java-script you put in the page, because if you don’t do that nothing will happen.

Just needs following things ready

JQuery Latest Version
JQGrid Latest version
JQuery UI Themes (Optional)

Now Create a new ASP.NET MVC2/MVC3 application. Include the JS files in your master page. I only include the ones I need.

Most important thing while working with JQgrid is Url and EditUrl
– URL used to grab the data dynamically to JQGrid
– EditURL used to perform operations (Add/Edit/Delete)

 

Download working demo Here.

Happy Coding !!