Merge pull request #618 from tugcekucukoglu/datatable/colresize
DataTable ColResize gridlinepull/682/head
commit
c013d5e9cf
|
@ -11,7 +11,7 @@
|
|||
<div class="content-section implementation">
|
||||
<div class="card">
|
||||
<h5>Fit Mode</h5>
|
||||
<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>
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<div class="card">
|
||||
<h5>Expand Mode</h5>
|
||||
<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>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<pre v-code>
|
||||
<code><template v-pre>
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue