需要MVC 3 Grid与AJAX分页/排序与不显眼的JavaScript [英] Need MVC 3 Grid with AJAX paging/sorting with unobtrusive javascript
问题描述
我对MVC 3相当陌生,并且正在寻找允许排序和分页的网格组件,但也会使用渐进式增强功能,因此可以提供完全基于AJAX的排序和分页功能。
理想情况下,我希望生成的标记非常干净并且可以通过在页面中嵌入最少的JS进行自定义。
解决方案查看 http://datatables.net/
开发了各种nuget软件包和codeplex项目轻松地将这些与asp.net mvc整合,例如: http://datatablesmvc.codeplex.com/
I'm fairly new to MVC 3 and and looking for a grid component that allows sorting and paging, but will also use progressive enhancement so provide fully AJAX based sorting and paging.
Ideally I'd like the generated markup to be very clean and customizable with minimal JS embedded on the page
Get a look at http://datatables.net/ There are various nuget packages and codeplex projects developped to easilyintegrate these with asp.net mvc such as this one: http://datatablesmvc.codeplex.com/
这篇关于需要MVC 3 Grid与AJAX分页/排序与不显眼的JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!