diff --git a/src/views/datatable/DataTableColResizeDemo.vue b/src/views/datatable/DataTableColResizeDemo.vue index 74aea50b3..4ea484e7e 100755 --- a/src/views/datatable/DataTableColResizeDemo.vue +++ b/src/views/datatable/DataTableColResizeDemo.vue @@ -11,7 +11,7 @@
<h3>Fit Mode</h3>
-<DataTable :value="products" :resizableColumns="true" columnResizeMode="fit">
+<DataTable :value="products" :resizableColumns="true" columnResizeMode="fit" class="p-datatable-gridlines">
<Column field="code" header="Code"></Column>
<Column field="name" header="Name"></Column>
<Column field="category" header="Category"></Column>
@@ -44,7 +44,7 @@
</DataTable>
<h3>Expand Mode</h3>
-<DataTable :value="products" :resizableColumns="true" columnResizeMode="expand">
+<DataTable :value="products" :resizableColumns="true" columnResizeMode="expand" class="p-datatable-gridlines">
<Column field="code" header="Code"></Column>
<Column field="name" header="Name"></Column>
<Column field="category" header="Category"></Column>