diff --git a/src/views/datatable/DataTableTemplatingDemo.vue b/src/views/datatable/DataTableTemplatingDemo.vue
index cc5733d05..db379c6c6 100644
--- a/src/views/datatable/DataTableTemplatingDemo.vue
+++ b/src/views/datatable/DataTableTemplatingDemo.vue
@@ -39,6 +39,68 @@
+
+
+
+
+
+ View on GitHub
+
+
+
+<DataTable :value="cars">
+ <template #header>
+ <div style="line-height:1.87em" class="clearfix">
+ <Button icon="pi pi-refresh" style="float: right"/>
+ List of Cars
+ </div>
+ </template>
+ <Column field="vin" header="Vin"></Column>
+ <Column field="year" header="Year"></Column>
+ <Column field="brand" header="Brand">
+ <template #body="slotProps">
+ <img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" width="48px"/>
+ </template>
+ </Column>
+ <Column field="color" header="Color"></Column>
+ <Column headerStyle="width: 8em" bodyStyle="text-align: center">
+ <template #header>
+ <Button type="button" icon="pi pi-cog"></Button>
+ </template>
+ <template #body="slotProps">
+ <Button type="button" icon="pi pi-search" class="p-button-success" style="margin-right: .5em"></Button>
+ <Button type="button" icon="pi pi-pencil" class="p-button-warning"></Button>
+ </template>
+ </Column>
+ <template #footer>
+ In total there are {{cars ? cars.length : 0 }} cars.
+ </template>
+</DataTable>
+
+
+
+
+import CarService from '../../service/CarService';
+
+export default {
+ data() {
+ return {
+ cars: null
+ }
+ },
+ carService: null,
+ created() {
+ this.carService = new CarService();
+ },
+ mounted() {
+ this.carService.getCarsSmall().then(data => this.cars = data);
+ }
+}
+
+
+
+
+