|
2 | 2 | <html> |
3 | 3 | <head lang="en"> |
4 | 4 | <meta charset="UTF-8"> |
5 | | - <title>Angular Data Grid - Bootstrap Design</title> |
| 5 | + <title>Angular Data Grid - 100k example</title> |
6 | 6 | <link rel="icon" href="https://angularjs.org/favicon.ico" type="image/x-icon"> |
7 | 7 | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> |
8 | 8 | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> |
|
12 | 12 | <nav class="navbar navbar-inverse"> |
13 | 13 | <div class="container"> |
14 | 14 | <a href="#" class="navbar-brand">Angular Data Grid - 100k Example</a> |
| 15 | + <ul class="nav navbar-nav navbar-right"> |
| 16 | + <li><a href="../bootstrap/">Basic demo</a></li> |
| 17 | + </ul> |
15 | 18 | </div> |
16 | 19 | </nav> |
17 | 20 | <div class="container"> |
18 | 21 | <div> |
19 | 22 | <h3>Angular Data Grid 100k Example</h3> |
20 | | - Features enabled: sorting, filtering (using both in-grid and external controls), sync with browser URLs, |
21 | | - pagination and items-per-page functionality. |
22 | | - Angular UI Datepicker used for date controls, although you can use any other framework, plugin or styling. |
| 23 | + This demonstrates client-side sorting / pagination / filtering performance of the data grid with <strong>100 000 rows</strong> loaded at once. |
| 24 | + It's not likely that someone will need to operate so huge data at client side in a real life, but for performance testing purposes it definitely works) |
23 | 25 | <a href="https://github.com/angular-data-grid/angular-data-grid.github.io" target="_blank">Project GitHub</a> |
24 | 26 | </div> |
25 | 27 | <hr> |
@@ -104,8 +106,8 @@ <h3>Angular Data Grid 100k Example</h3> |
104 | 106 | <div class="col-md-12"> |
105 | 107 | <div grid-data id='test' grid-options="gridOptions" grid-actions="gridActions"> |
106 | 108 | <div class="row"> |
107 | | - <div class="col-md-3"> |
108 | | - <span class="items">{{filtered.length}} users total</span> |
| 109 | + <div class="col-md-3" ng-cloak> |
| 110 | + <span class="items" ng-bind="filtered.length">{{filtered.length}} users total</span> |
109 | 111 | <div>Time stats</div> |
110 | 112 | <div>Copy time: {{_time.copy}}</div> |
111 | 113 | <div>Filter time: {{_time.filters}}</div> |
@@ -190,18 +192,18 @@ <h3>Angular Data Grid 100k Example</h3> |
190 | 192 | </div> |
191 | 193 | </div> |
192 | 194 | <hr> |
193 | | - <div> |
194 | | - <button class="btn btn-info margin-bottom-basic" ng-click="showCode = !showCode">CodePen</button> |
195 | | - <div ng-show="showCode"> |
196 | | - <p data-height="768" data-theme-id="21603" data-slug-hash="xZddZm" data-default-tab="html" |
197 | | - data-user="AngularDataGrid" class='codepen'>See the Pen <a |
198 | | - href='http://codepen.io/AngularDataGrid/pen/xZddZm/'>xZddZm</a> by AngularDataGrid (<a |
199 | | - href='http://codepen.io/AngularDataGrid'>@AngularDataGrid</a>) on <a href='http://codepen.io'>CodePen</a>. |
200 | | - </p> |
201 | | - <script async src="//assets.codepen.io/assets/embed/ei.js"></script> |
202 | | - </div> |
203 | | - </div> |
204 | | - <hr> |
| 195 | + <!--<div>--> |
| 196 | + <!--<button class="btn btn-info margin-bottom-basic" ng-click="showCode = !showCode">CodePen</button>--> |
| 197 | + <!--<div ng-show="showCode">--> |
| 198 | + <!--<p data-height="768" data-theme-id="21603" data-slug-hash="xZddZm" data-default-tab="html"--> |
| 199 | + <!--data-user="AngularDataGrid" class='codepen'>See the Pen <a--> |
| 200 | + <!--href='http://codepen.io/AngularDataGrid/pen/xZddZm/'>xZddZm</a> by AngularDataGrid (<a--> |
| 201 | + <!--href='http://codepen.io/AngularDataGrid'>@AngularDataGrid</a>) on <a href='http://codepen.io'>CodePen</a>.--> |
| 202 | + <!--</p>--> |
| 203 | + <!--<script async src="//assets.codepen.io/assets/embed/ei.js"></script>--> |
| 204 | + <!--</div>--> |
| 205 | + <!--</div>--> |
| 206 | + <!--<hr>--> |
205 | 207 | </div> |
206 | 208 | </body> |
207 | 209 | <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> |
|
0 commit comments