Ionic directives (ion-list, ion-item) styled to mimick normal HTML tables for responsiveness and provide animation functionality.
http://codepen.io/anon/pen/QjWxqG
bower install ionic-table
Include the ionic-table.js in your index.html file and be sure to inject "ionic-table" into your app.js.
Below is a markup example in Jade:
ion-header-bar.bar-positive
h1.title Table
ion-content
.table(ion-table='')
ion-list
ion-item.table-head.table-row
ul
li One
li Two
li Three
ion-item.table-row
ul
li
| The li element will automatically resize to fit the data here as best as possible.
li.table-select
select
option(disabled, selected) Chose
option Yes
option No
option N/A
li.table-select
select
option(disabled, selected) Choose
option Yes
option No
option N/A
ion-item.table-row
ul
li
| More data
li.table-select
select
option(disabled, selected) Chooooose
option Yes
option No
option N/A
li.table-select
select
option(disabled, selected) Choose
option Yes
option No
option N/A
This is the container class for the entire table.
Identifies a new table row and should be placed ion the <ion-item>
within an <ion-list>
.
Specifies the table header (default background is gray and text is black/centered).
Extends ionic's select
styles for use in a table. To be placed on the individual li
table cell.
Centers an icon vertically and horizontally for ng-click functionality. To be placed on an individual li
table cell, inside which is an i.icon.icon-whatever
.