<table>
	<thead>
		<tr>
			<th v-repeat="columns">{{ $value | capitalize }}</th>
		</tr>
	</thead>
	<tbody>
		<tr v-repeat="rows" v-class="odd : $index | isOdd">
			<td v-repeat="columns">{{ $parent[$value] }}</td>
		</tr>
		<tr v-if="rows.length < 1" class="empty">
			<td colspan="{{ columns.length }}">No data.</td>
		</tr>
	</tbody>
</table>

<table>
	<thead v-if="rows.length > 0">
		<tr>
			<th v-repeat="columns">{{ $value | capitalize }}</th>
		</tr>
	</thead>
	<tbody>
		<tr v-repeat="rows" v-class="odd : $index | isOdd">
			<td v-repeat="columns">{{ $parent[$value] }}</td>
		</tr>
		<tr v-if="rows.length < 1" class="empty">
			<td colspan="{{ columns.length }}">No data.</td>
		</tr>
	</tbody>
</table>

Hide the table header of empty tables.
Hide the table header of empty tables.
