在 Javascript 网格和 UI 控件中缓存 ajax 数据
我正在用 JS 编写一个丰富的 UI,需要以流体布局显示从 REST 调用返回的大型数据集,其中将包括许多控件,例如网格、选项卡条、菜单等。您能建议一些 JS 库/工具包吗?让我执行以下操作 -
智能地缓存数据,并根据 UI 需要获取更多数据。缓存应该能够提供多个 UI 控件,并且我想使用某种数据绑定,例如 KnockoutJS。 (数据将从 jQuery 的 ajaxManager 返回)。
UI 控件可检测用户何时超出边界(例如在网格中滚动)并自动向缓存发出请求以获取更多数据。某种可以与各种小部件一起使用的 jQuery 插件会更好。
哪种网格控件最容易使用,满足以下要求:必须是数据驱动的(所有数据来自缓存中的json/对象,所有html来自jquery模板),不需要可编辑,布局必须灵活,支持不同大小的细胞。基本上我正在寻找同位素布局引擎与 SlickGrids 虚拟渲染的组合。
I'm writing a rich UI in JS that needs to display large data sets returned from REST calls in a fluid layout, that will include many controls such as grids, tab strips, menus etc. Can you suggest some JS libs/toolkits that will let me do the following -
intelligently cache the data, and fetch more as needed for the UI. The cache should be able to feed multiple UI controls and I want to use some sort of data-binding such as KnockoutJS. (The data will be returned from jQuery's ajaxManager).
UI controls that detect when user is exceeding boundaries (such as scrolling in the grid) and automatically issue requests to cache to fetch more data. Some sort of jQuery plugin than can be used with a variety of widgets would be preferable.
which grid control is easiest to use with the following requirements: must be data driven (all data comes from json/objects from cache, all html is from jquery templates), need not be editable, layout has to be flexible, support cells of different sizes. Basically I'm looking for a combination if isotope's layout engine with SlickGrids virtual rendering.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用过 Sencha 的 Ext-JS。它拥有所有这些东西!
I've used Sencha's Ext-JS. It has all of those things!