Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个可以处理实时更新的 JavaScript 中的可排序表或网格小部件。我将通过 Comet 的更新来更新表中的行,并且最好不要有一个小部件需要我在每次更新时重绘整个表或在更新时占用 CPU。
我从未使用过它,但我确实在几天前遇到了 jqGrid。有大量的例子。
主站点 示例
试试ExtJs。它具有可配置的数据适配器,可以使用本地数据(XML、数组、JSON 等)或远程数据。
有很多网格示例,但这一个可能满足您的需求。
Dojo 的Dojox Grid据称在将QueryReadStore用作其后端时支持此功能。
不幸的是,我没有一个可行的例子。