需要MVC 3 Grid与AJAX分页/排序与不显眼的JavaScript [英] Need MVC 3 Grid with AJAX paging/sorting with unobtrusive javascript

查看:167
本文介绍了需要MVC 3 Grid与AJAX分页/排序与不显眼的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆