重新present在AngularJS网格或表自举3的最佳方式? [英] Best way to represent a Grid or Table in AngularJS with Bootstrap 3?

查看:182
本文介绍了重新present在AngularJS网格或表自举3的最佳方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创造与AngularJS一个应用程序,并引导3.我想表明与成千上万行的表/格。什么是AngularJS和放大器最好的控制;像排序功能引导,搜索,分页等。

I am creating an App with AngularJS and Bootstrap 3. I want to show a table/grid with thousands of rows. What is the best available control for AngularJS & Bootstrap with features like Sorting, Searching, Pagination etc.

推荐答案

尝试ngGrid后,ngTable,trNgGrid和智能表,我来了智能表是迄今为止最好的执行结论AngularJS-明智和引导明智的。它是建立完全按照自己的使用标准角度建立你自己的,天真的表以同样的方式。最重要的是,他们已经增加了一些指令,帮助你排序,过滤等。他们的做法也使得它相当简单扩展自己。他们使用的表常规的HTML标签和标准NG-重复的行和标准引导格式化的事实使我这明显的赢家。

After trying out ngGrid, ngTable, trNgGrid and Smart Table, I have come to the conclusion that Smart Table is by far the best implementation AngularJS-wise and Bootstrap-wise. It is built exactly the same way as you would build your own, naive table using standard angular. On top of that, they have added a few directives that help you do sorting, filtering etc. Their approach also makes it quite simple to extend yourself. The fact that they use the regular html tags for tables and the standard ng-repeat for the rows and standard bootstrap for formatting makes this my clear winner.

他们的JS $ C $,c取决于角度和你的HTML可以依靠引导,如果你想。该JS code是总4 KB,你甚至可以轻松地挑东西离开这里,如果你想达到一个更小的足迹。

Their JS code depends on angular and your html can depend on bootstrap if you want to. The JS code is 4 kb in total and you can even easily pick stuff out of there if you want to reach an even smaller footprint.

当其他网格会给你在不同的领域幽闭恐惧症,智能表只是觉得开和的地步。

Where the other grids will give you claustrophobia in different areas, Smart Table just feels open and to the point.

如果您在很大程度上依赖于行内编辑和其他先进的功能,你可能会得到启动和ngTable例如运行更快。不过,你可以自由地在智能表很容易添加这些功能。

If you rely heavily on inline editing and other advanced features, you might get up and running quicker with ngTable for instance. However, you are free to add such features quite easily in Smart Table.

不要错过智能表

我没有关系智能表,只是使用它自己。

I have no relation to Smart Table, except from using it myself.

这篇关于重新present在AngularJS网格或表自举3的最佳方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆