Does Grid.MVC work with ASP.NET MVC 5?

天大地大妈咪最大 提交于 2019-12-02 09:35:00

问题


Before I start messing around with something that doesn't work:

Does Grid.MVC work with ASP.NET MVC 5?

On gridmvc.codeplex.com they just write MVC3/4, but I wonder if anybody tried it with MVC5? You tried it, but it didn't work? Did you use any free alternative?

Any help appreciated! Thanks!


回答1:


Try this one: http://mvc-grid.azurewebsites.net it is more up-to-date.

MVC 5:

Install-Package NonFactors.Grid.Mvc5 

MVC 6:

Install-Package NonFactors.Grid.Mvc6 



回答2:


Yes it works in MVC5. The website does not indicate 3+ but that's what it is.

I have implimented Grid.Mvc in multiple MVC5 projects using EF6.

I love it, it's really easy to stand up and allow my users to query the data tables. I would suggest trying it out, but the documentation isn't great. Luckily the documentation they do have is enough to get started.

https://gridmvc.codeplex.com/documentation




回答3:


you can use Data Table render for display grid view. please following below this link:

https://datatables.net/examples/advanced_init/column_render.html

may be this can help you.



来源:https://stackoverflow.com/questions/30394158/does-grid-mvc-work-with-asp-net-mvc-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!