<script src="http://cdnitesm.azureedge.net/vendors/bootgrid/jquery.bootgrid.min.js"></script>
ID |
Sender |
Received |
10238 |
eduardo@pingpong.com |
14.10.2013 |
10243 |
eduardo@pingpong.com |
19.10.2013 |
10248 |
eduardo@pingpong.com |
24.10.2013 |
10253 |
eduardo@pingpong.com |
29.10.2013 |
10234 |
lila@google.com |
10.10.2013 |
10239 |
lila@google.com |
15.10.2013 |
10244 |
lila@google.com |
20.10.2013 |
10249 |
lila@google.com |
25.10.2013 |
10237 |
robert@bingo.com |
13.10.2013 |
10242 |
robert@bingo.com |
18.10.2013 |
10247 |
robert@bingo.com |
23.10.2013 |
10252 |
robert@bingo.com |
28.10.2013 |
10236 |
simon@yahoo.com |
12.10.2013 |
10241 |
simon@yahoo.com |
17.10.2013 |
10246 |
simon@yahoo.com |
22.10.2013 |
10251 |
simon@yahoo.com |
27.10.2013 |
10235 |
tim@microsoft.com |
11.10.2013 |
10240 |
tim@microsoft.com |
16.10.2013 |
10245 |
tim@microsoft.com |
21.10.2013 |
10250 |
tim@microsoft.com |
26.10.2013 |
<div class="table-responsive">
<table id="data-table-basic" class="table table-striped">
<thead>
<tr>
<th data-column-id="id" data-type="numeric">ID</th>
<th data-column-id="sender">Sender</th>
<th data-column-id="received" data-order="desc">Received</th>
</tr>
</thead>
<tbody>
<tr>
<td>10238</td>
<td>eduardo@pingpong.com</td>
<td>14.10.2013</td>
</tr>
<tr>
<td>10243</td>
<td>eduardo@pingpong.com</td>
<td>19.10.2013</td>
</tr>
.
.
.
<tr>
<td>10245</td>
<td>tim@microsoft.com</td>
<td>21.10.2013</td>
</tr>
<tr>
<td>10250</td>
<td>tim@microsoft.com</td>
<td>26.10.2013</td>
</tr>
</tbody>
</table>
</div>
<script>
$(document).ready(function(){
//Basic Example
$("#data-table-basic").bootgrid({
css: {
icon: 'md icon',
iconColumns: 'md-view-module',
iconDown: 'md-expand-more',
iconRefresh: 'md-refresh',
iconUp: 'md-expand-less'
},
});
});
</script>
ID |
Sender |
Received |
10238 |
eduardo@pingpong.com |
14.10.2013 |
10243 |
eduardo@pingpong.com |
19.10.2013 |
10248 |
eduardo@pingpong.com |
24.10.2013 |
10253 |
eduardo@pingpong.com |
29.10.2013 |
10234 |
lila@google.com |
10.10.2013 |
10239 |
lila@google.com |
15.10.2013 |
10244 |
lila@google.com |
20.10.2013 |
10249 |
lila@google.com |
25.10.2013 |
10237 |
robert@bingo.com |
13.10.2013 |
10242 |
robert@bingo.com |
18.10.2013 |
10247 |
robert@bingo.com |
23.10.2013 |
10252 |
robert@bingo.com |
28.10.2013 |
10236 |
simon@yahoo.com |
12.10.2013 |
10241 |
simon@yahoo.com |
17.10.2013 |
10246 |
simon@yahoo.com |
22.10.2013 |
10251 |
simon@yahoo.com |
27.10.2013 |
10235 |
tim@microsoft.com |
11.10.2013 |
10240 |
tim@microsoft.com |
16.10.2013 |
10245 |
tim@microsoft.com |
21.10.2013 |
10250 |
tim@microsoft.com |
26.10.2013 |
<div class="table-responsive">
<table id="data-table-selection" class="table table-striped">
<thead>
<tr>
<th data-column-id="id" data-type="numeric" data-identifier="true">ID</th>
<th data-column-id="sender">Sender</th>
<th data-column-id="received" data-order="desc">Received</th>
</tr>
</thead>
<tbody>
<tr>
<td>10238</td>
<td>eduardo@pingpong.com</td>
<td>14.10.2013</td>
</tr>
<tr>
<td>10243</td>
<td>eduardo@pingpong.com</td>
<td>19.10.2013</td>
</tr>
.
.
.
<tr>
<td>10243</td>
<td>eduardo@pingpong.com</td>
<td>19.10.2013</td>
</tr>
<tr>
<td>10250</td>
<td>tim@microsoft.com</td>
<td>26.10.2013</td>
</tr>
</tbody>
</table>
</div>
<script>
$(document).ready(function(){
//Selection
$("#data-table-selection").bootgrid({
css: {
icon: 'md icon',
iconColumns: 'md-view-module',
iconDown: 'md-expand-more',
iconRefresh: 'md-refresh',
iconUp: 'md-expand-less'
},
selection: true,
multiSelect: true,
rowSelect: true,
keepSelection: true
});
});
</script>
ID |
Sender |
Received |
Commands |
10238 |
eduardo@pingpong.com |
14.10.2013 |
10243 |
eduardo@pingpong.com |
19.10.2013 |
10248 |
eduardo@pingpong.com |
24.10.2013 |
10253 |
eduardo@pingpong.com |
29.10.2013 |
10234 |
lila@google.com |
10.10.2013 |
10239 |
lila@google.com |
15.10.2013 |
10244 |
lila@google.com |
20.10.2013 |
10249 |
lila@google.com |
25.10.2013 |
10237 |
robert@bingo.com |
13.10.2013 |
10242 |
robert@bingo.com |
18.10.2013 |
10247 |
robert@bingo.com |
23.10.2013 |
10252 |
robert@bingo.com |
28.10.2013 |
10236 |
simon@yahoo.com |
12.10.2013 |
10241 |
simon@yahoo.com |
17.10.2013 |
10246 |
simon@yahoo.com |
22.10.2013 |
10251 |
simon@yahoo.com |
27.10.2013 |
10235 |
tim@microsoft.com |
11.10.2013 |
10240 |
tim@microsoft.com |
16.10.2013 |
10245 |
tim@microsoft.com |
21.10.2013 |
10250 |
tim@microsoft.com |
26.10.2013 |
<table id="data-table-command" class="table table-striped table-vmiddle">
<thead>
<tr>
<th data-column-id="id" data-type="numeric">ID</th>
<th data-column-id="sender">Sender</th>
<th data-column-id="received" data-order="desc">Received</th>
<th data-column-id="commands" data-formatter="commands" data-sortable="false">Commands</th>
</tr>
</thead>
<tbody>
<tr>
<td>10238</td>
<td>eduardo@pingpong.com</td>
<td>14.10.2013</td>
</tr>
<tr>
<td>10243</td>
<td>eduardo@pingpong.com</td>
<td>19.10.2013</td>
</tr>
.
.
.
<tr>
<td>10245</td>
<td>tim@microsoft.com</td>
<td>21.10.2013</td>
</tr>
<tr>
<td>10250</td>
<td>tim@microsoft.com</td>
<td>26.10.2013</td>
</tr>
</tbody>
</table>
<script>
$(document).ready(function(){
//Command Buttons
$("#data-table-command").bootgrid({
css: {
icon: 'md icon',
iconColumns: 'md-view-module',
iconDown: 'md-expand-more',
iconRefresh: 'md-refresh',
iconUp: 'md-expand-less'
},
formatters: {
"commands": function(column, row) {
return "<button type=\"button\" class=\"btn btn-icon command-edit\" data-row-id=\"" + row.id + "\"><span class=\"md md-edit\"></span></button> " +
"<button type=\"button\" class=\"btn btn-icon command-delete\" data-row-id=\"" + row.id + "\"><span class=\"md md-delete\"></span></button>";
}
}
});
});
</script>