css - ngGrid 和 uiGrid 之间的区别?

标签 css angularjs ng-grid angular-ui-grid

我开始使用 AngularJS ngGrid 来实现我的网格...但是我看到下一个版本是 UI 网格...这是不稳定的?有没有人使用过它们中的任何一个,两者的主要区别是什么?

最佳答案

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 probably 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.

It's the same project. ng-grid is older (version 2.x), UI Grid is newer (version 3.x) but not officially relased yet (currently in release candidate status). They're very similar, compare the tutorials for v2 (ng-grid) and v3 (UI Grid).

Edit (Nov 12 2014): One major feature from v2 that is still missing in v3 is grouping (github issue). If that's something you can't do without stick with v2 for now.

关于css - ngGrid 和 uiGrid 之间的区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29924240/

相关文章:

angularjs - Angular UI Grid - 如何自定义聚合行行为

javascript - 将 css 类添加到 Angularjs 中的标记元素

javascript - Angularjs 指令更清晰的代码

javascript - 在 ng-grid 中,gridOptions.$gridScope.columns 在隐藏/显示列上更改了两次

html - Youtube 链接、iframe 和 css 使其看起来像弹出窗口

css - IE渲染问题

html - 导航栏默认与内容重叠

css垂直居中

javascript - 你如何在 Angular 中设置cookie?

javascript - ng-Grid 允许选择在选择使用 rowTemplate 的行时显示