RyanP13
RyanP13

Reputation: 7743

jQuery Grid for ASP.Net MVC2

I need to choose a jQuery data grid plugin that plays well with MVC2.

I sit firmly on the client side so know nothing of MVC2 so was wondering if any had any particularly good or bad experiences in MVC2 with either of the following:

Datatables

Flexigrid

jqGrid

The following functions are required:

From what i have seen jqGrid looks great but is a paid for solution and possibly overkill for the requirements.

Flexigrid seems to be a bit dead in terms of core development.

I really like Datatables but am struggling to see its compatibility with MVC2. Does anyone have any experience implementing this plugin with MVC2? Or any better recommendations?

Admittedly this is not really a question with a definite answer but any advice greatfully received.

Upvotes: 2

Views: 1204

Answers (3)

uberDesi
uberDesi

Reputation: 13

Have you looked at Telerik Grid for MVC?

http://www.telerik.com/products/aspnet-mvc/grid.aspx

Upvotes: 1

Oleg
Oleg

Reputation: 221997

jqGrid has all features which you need excepting Multi-column sorting. Probably this feature will be implemented in one of the next releases of jqGrid.

If you compare jqGrid with Flexigrid you correct mention that jqGrid are living. See for example the last 3.8.1 release October 24th, 2010 and even more recent changes which you can see and download from github.

There are two versions of jqGrid: Free, Open Source package as pure JavaScript solution delivered with GPL & MIT licenses and commertial which is integrated for example in Visual Studio development environment. You can use any from the versions in your ASP.NET MVC Project.

jqGrid can be used to fill data from almost any web service providing data in JSON or XML format. So you can write in ASP.NET MVC a Controller method which provide pure data in the JSON format and use View with empty <table>. If you want you can implement the "data provider" as ASMX or WCF service. You can also combine any from the solutions in one site, so you will be free in the implementation.

Look at the other question where you can find some links with examples of the usage of jqGrid with ASP.NET MVC.

Upvotes: 3

orolo
orolo

Reputation: 3951

We used datatables w/ MVC2 in our group with great results.

Upvotes: 5

Related Questions