showing results for - "dynamically populate vue material table"
Farah
27 Apr 2017
1<md-table v-model="previewData" md-sort="name" md-sort-order="asc" md-fixed-header>
2   <md-table-row slot="md-table-row" slot-scope="{ item }">
3      <md-table-cell
4         v-for="head in headers"
5         key="head"
6         :md-label="head"
7         :md-sort-by="head"
8      >
9         {{ item[head] }}
10      </md-table-cell>
11   </md-table-row>
12</md-table>