There seems to be many grid controls for MVC, but I can't find any comparison between them i.e. which one is better over another one. Some support server-side data binding
and some support client-side data binding
. I found the following.
Could you help me choose one among these with reasons for the same? I need Ajax support
, paging
, sorting
etc (not inline grid editing, though no harm if that functionality is available) and also I need to be able to define templated columns
like gridview for some of the columns.
Webgrid
MVC contrib
MVC controls toolkit
jQGrid
High performance. The ASP.NET MVC Data Grid has optimized design for high-performance. Loads large volumes of data, nearly 1 million+ records, within one second without any performance degradation with the help of row and column virtualization.
In web application, displaying data in a gridview is a common requirement. Hence, we will walkthrough possible ways of designing grid view in ASP.NET MVC. In MVC, following are the most common ways of designing grid. Simple grid design using foreach loop and html table: Iterating table's tr tag.
Bind data to Kendo Grid by using AJAX Read action method. Change the datasource on change event of any HTML controls. Normally, a developer can bind the data to Grid by using AJAX Read method. This read method is ActionResult method in MVC which will return JSON DataSourceResult & direclty bind the data to Grid.
Your list doesn't include the free Telerik controls for MVC found here
The grid control supports, templating, AJAX, sorting, filtering, paging etc. It's an absolutely amazing grid. I can't speak for the others, but I strongly suggest you evaluate Telerik before making a decision.
Check out the MVC demos here
Edit: One of the main reasons I love this grid is because AJAX functionality isn't treated as a second class citizen. You can perform all the same functionality that you can using server binding.
Update 12/2013
The free Telerik controls have been deprecated in favor of Kendo UI. However you can still download the free controls and view their documentation.
I still use this from time to time. I can't justify paying for Kendo for small projects as the controls are very similar.
Documentation
Controls
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With