本文介绍了最佳的动态JavaScript / JQuery网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用JavaScript,JQuery和HTML。我的项目的UI是完全动态的。我正在寻找一个支持以下功能的动态JavaScript / JQuery Grid。有谁可以告诉我有没有好看的开源网格支持以下功能?
- 我应该可以在运行时创建一个网格实例并添加到DOM中。 >
- 支持列模板(文本框,选择框,复选框或任何输入或简单文本)
- 支持设置新列模板或实时替换现有列模板。 少数输入控件(如文本框,复选框......)出现在列下可能启用,很少可能禁用。
-
- 实时支持setData()
- 支持用户更改任何输入数据时的事件。 >它应该支持选择一行
- 实时添加行或删除行支持,无需呈现整个网格。 支持分页。 / li>
- 支持排序
- 如果数据按用户实时排序,则触发事件。
- 网格用户界面必须支持可实现的列
- 自动调整大小(如果根据父元素的大小自动调整大小,将会很好)
- 绝对有很好的文档。
- 支持排序
解决方案
免费:
付费:
在我看来是Flexigrid和jQuery Grid。
I'm working with JavaScript, JQuery and HTML. UI Of my project is completely dynamic. I am looking for a dynamic JavaScript/JQuery Grid which supports following features.
Can anybody tell me is there any good looking open sources Grid which supports the following features?
- I should be able to create an instance of the grid at run-time and add to DOM.
- Supports column templates (textbox, select, checkbox or any inputs or simple text)
- Supports set new column template or replace existing column template at real-time.
- Few input control (e.g textbox, checkbox..) present under a column may be enabled and few may be disabled.
- Supports setData() at real-time.
- Supports event if any input data changed by user.
- It should support selection of a Row
- Add row or delete row support at real-time without rendering the whole grid.
- Supports Paging.
- Supports sorting by any column at real-time.
- Fires an event if data is sorted by user at real-time.
- Grid UI must support realizable columns
- Auto re-sizable (It will be great if grid is auto re-sizable according to the size of the parent element)
- Definitely has good documentation.
解决方案
Some useful are:
Free:
Paid:
The best entries in my opinion are Flexigrid and jQuery Grid.
这篇关于最佳的动态JavaScript / JQuery网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!