且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Ng-grid 与 ui-grid

更新时间:2023-09-19 23:33:16

github repo 说所有的开发都将在 ui-grid (ng-grid 3) 上进行.这意味着 ng-grid 已成为传统网格.在我看来,ui-grid 足够稳定,使用 ng-grid 的唯一原因是您是否已经开始使用它.新项目***使用 ui-grid.他们还声称 ui-grid 的性能比 ng-grid 好,尽管我还没有测试过.

The github repo says that all development will happen on ui-grid (ng-grid 3). That means ng-grid has become a legacy grid. ui-grid is stable enough to use in my opinion and the only reason to use ng-grid is if you already started with it. New projects would be better off using ui-grid. They also claim that the performance of ui-grid is better than that of ng-grid though I haven't tested that.

更新:

UI Grid 3 的稳定版本已经发布,这意味着它可以用于生产应用程序.在他们的文档站点上,他们有一个关于如何从旧版 ng-grid 升级的指南.请参阅教程:099 升级

A stable version of UI Grid 3 is out which means that it can be used in production applications. On their documentation site, they have a guide on how to upgrade from legacy ng-grid. See Tutorial: 099 Upgrading