Best way to represent a Grid or Table in AngularJS with Bootstrap 3? [closed] Ask Question

Best way to represent a Grid or Table in AngularJS with Bootstrap 3? [closed] Ask Question

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.

ベストアンサー1

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 コードは Angular に依存しており、HTML は必要に応じて Bootstrap に依存することができます。JS コードは合計 4 KB で、さらに小さなフットプリントを実現したい場合は、そこから簡単に内容を取り出すこともできます。

他のグリッドではさまざまな領域で閉所恐怖症を感じますが、Smart Table は開放的で簡潔な印象です。

インライン編集やその他の高度な機能に大きく依存している場合は、たとえば ngTable を使用すると、より迅速に起動して実行できる可能性があります。ただし、Smart Table では、そのような機能を非常に簡単に追加できます。

スマートテーブルをお見逃しなく!!!

私は Smart Table を自分で使用した以外、Smart Table とは何の関係もありません。

おすすめ記事