针对大数据集的 jQuery 网格建议?

发布于 2024-09-19 00:28:29 字数 778 浏览 3 评论 0原文

我正在寻找 jQuery 网格建议,并遇到了这个问题/答案: https://stackoverflow.com/questions/159025/jquery-grid-recommendations

在浏览许多jQuery 网格解决方案在那里,似乎他们都希望在客户端上拥有整个数据集。如果我有一个大数据集(数千/数百万条记录),这些类型的解决方案显然无法很好地扩展(或根本无法工作)

我的问题:是否有 jQuery 网格解决方案使用 Ajax 仅选择一个页面时间?我希望使用客户端通过ajax传入的参数在服务器端处理分页、排序等。

提前致谢,

--Ed

更新:我使用 FlexiGrid 取得了巨大成功 - 应用程序的其余部分是 ASP.NET MVC2。唯一的问题是您需要修改 ASP.NET MVC 附带的 Site.css,因为它为所有表、td 和 th 标签(填充)指定了样式,这会弄乱 Flexigrid L&F。

更新 2:如果您计划拥有多个具有不同数据表的网格,在 Fishysplash 上,有一个很好的实现,可以动态生成必要的 javascript 代码。 http://fishysplash.com/adding-grids-using-flexigrid

I was looking around for jQuery grid recommendations and came across this question/answers:
https://stackoverflow.com/questions/159025/jquery-grid-recommendations

In looking through the many jQuery grid solutions out there, it seems they all want to have the entire data set on the client. If I have a large data set (thousands/millions of records), these types of solutions will obviously not scale well (or work at all)

My question: are there jQuery grid solution out there that use Ajax to select just a page at a time? I expect to handle the paging, sorting, etc on the server side with the arguments passed in from the client via ajax.

Thanks in advance,

--Ed

Update: I am using FlexiGrid with great success - the rest of the app is ASP.NET MVC2. The only gotcha is you need to modify the Site.css that comes with ASP.NET MVC as it specifies a style for all tables, td, and th tags (padding) that messes up the flexigrid L&F.

Update 2: over at fishysplash, there is a nice implementation of a dynamic generation of the necessary javascript code if you're planning to have more than one grid with different data tables.
http://fishysplash.com/adding-grids-using-flexigrid

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

伊面 2024-09-26 00:28:29

我认为 Elijah Manor 使用 FlexGrid 和 ASP.NET MVC 做了一些事情: http:// /webdevdotnet.blogspot.com/2008/07/flexigrid.html

I think Elijah Manor did something with this using the FlexGrid and ASP.NET MVC: http://webdevdotnet.blogspot.com/2008/07/flexigrid.html.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文