[Vuejs]-VueJS: Material Table: How to assign a value from row as the column heading?

0👍

Found the answer, thanks to Igor Moraru for his help.

Right syntax (the : before md-label is important)

<md-table-cell :md-label="item.id" md-sort-by="id">{{ item.id }}</md-table-cell>

Leave a comment