John John
John John

Reputation: 1

Web grid for my asp.net mvc5 web application

I am working on an asp.net mvc-5 web application and I am using entity framework +Razor view.

Currently for more than three weeks I have try and test many web grids , but I cannot find anythat provide the following main features:-

I tried many grids ; for example the Grid.MVC link provides column based filtering but it does not provide ajax-based interaction, also it does not work with mvc data annotations and html helpers. Also I tied the Lib.Web.MVC link but seems it does not provide column based filtering and it lack a sufficient documentations , however it work with data annotation and html helpers.

So my question is basically about what are the available web grids to use inside asp.net mvc, which provides the above four features.? The problem is that on the asp.net mvc books and online domination none of them use any web grids, and most of them implement functions such as paging,filtering, and sorting in a manual way such as link

Can anyone advice on this please, also does any scafilding templetes build their index views based on any grid !!?

Upvotes: 0

Views: 1179

Answers (1)

Oleg
Oleg

Reputation: 221997

If you would provide the input for the grid with respect of html helpers then the grid would have only common HTML fragments in every cell. In the case no column based filtering on the client side could be implemented.

Sorry, but I don't understand the last requirement "Provide column-based filtering". You have already another requirement about ajax-based paging, filtering sorting which means that the server is responsible for filtering (inclusive column-based filtering). So you can expect only that the grid send Ajax request to the server in case of the user type some value in the filter bar and press Enter or "Search".

The first requirement "compatible with asp.net mvc data annotations, html helpers +model binder" is the only requirement which free jqGrid don't satisfy. The reason of it I explained you in the discussion in comments to my previous answer on your another question: jqGrid in pure JavaScript solution. It can't have any MVC components.

Upvotes: 1

Related Questions