table.table.stripped
thead
tr
th.selector(v-if="schema.multiSelect", width="20px" @click="selectAll")
i.fa.fa-square-o
th.sortable(v-for="col in schema.columns", :width="col.width || 'auto'", @click="changeSort(col)", :class="{ sorted: col.field == order.field, 'desc': col.field == order.field && order.direction == -1 }") {{ col.title }}
tbody
tr(v-for="row in filteredOrderedRows", @click="select($event, row)", :class="getRowClasses(row)")
td.selector(v-if="schema.multiSelect", width="20px", @click.stop.prevent="select($event, row, true)")
i.fa.fa-square-o
td(v-for="col in schema.columns", :class="getCellClasses(row, col)")
span(v-html="getCellValue(row, col)")
span.labels(v-if="col.labels != null")
.label(v-for="label in col.labels(row)", :class="'label-' + label.type") {{ label.caption }}
tfoot
tr
td
td(v-for="col in schema.columns")