diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index e76203a39..38b3553ef 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -385,7 +385,7 @@ export default { this.updateScrollWidth(); } - if (this.responsiveLayout === 'stack') { + if (this.responsiveLayout === 'stack' && !this.scrollable) { this.createResponsiveStyle(); } }, @@ -1591,6 +1591,12 @@ export default { border: 0 none; } + .p-datatable[${this.attributeSelector}].p-datatable-gridlines .p-datatable-tbody > tr > td:last-child { + border-top: 0; + border-right: 0; + border-left: 0; + } + .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td > .p-column-title { display: block; } @@ -1769,7 +1775,6 @@ export default { border-collapse: collapse; width: 100%; table-layout: fixed; - white-space: nowrap; } .p-datatable .p-sortable-column { diff --git a/src/views/datatable/DataTableColGroupDemo.vue b/src/views/datatable/DataTableColGroupDemo.vue index d633d766e..a629ca6b7 100755 --- a/src/views/datatable/DataTableColGroupDemo.vue +++ b/src/views/datatable/DataTableColGroupDemo.vue @@ -9,7 +9,7 @@
Simple editors with v-model.
-Custom implementation with validations, dynamic columns and reverting values with the escape key.
-
<h5>Basic Cell Editing</h5>
<p>Simple editors with v-model.</p>
-<DataTable :value="products1" editMode="cell" class="editable-cells-table">
+<DataTable :value="products1" editMode="cell" class="editable-cells-table" responsiveLayout="scroll">
<Column field="code" header="Code">
<template #editor="slotProps">
<InputText v-model="slotProps.data[slotProps.column.props.field]" />
@@ -135,7 +135,7 @@
<div class="card">
<h5>Advanced Cell Editing</h5>
<p>Custom implementation with validations, dynamic columns and reverting values with the escape key.</p>
-<DataTable :value="products2" editMode="cell" @cell-edit-complete="onCellEditComplete" class="editable-cells-table" >
+<DataTable :value="products2" editMode="cell" @cell-edit-complete="onCellEditComplete" class="editable-cells-table" responsiveLayout="scroll">
<Column v-for="col of columns" :field="col.field" :header="col.header" :key="col.field">
<template #editor="slotProps">
<InputText :modelValue="slotProps.data[slotProps.column.props.field]" @update:modelValue="onCellEdit($event, slotProps)" />
@@ -147,7 +147,7 @@
<div class="card">
<h5>Row Editing</h5>
<DataTable :value="products3" editMode="row" dataKey="id" v-model:editingRows="editingRows"
- @row-edit-init="onRowEditInit" @row-edit-cancel="onRowEditCancel">
+ @row-edit-init="onRowEditInit" @row-edit-cancel="onRowEditCancel" responsiveLayout="scroll">
<Column field="code" header="Code">
<template #editor="slotProps">
<InputText v-model="slotProps.data[slotProps.column.props.field]" autofocus />
@@ -321,7 +321,7 @@ export default {
Basic Cell Editing
Simple editors with v-model.
-
+
@@ -355,7 +355,7 @@ export default {
Advanced Cell Editing
Custom implementation with validations, dynamic columns and reverting values with the escape key.
-
+
@@ -367,7 +367,7 @@ export default {
Row Editing
+ @rowEditInit="onRowEditInit" @rowEditCancel="onRowEditCancel" responsiveLayout="scroll">
diff --git a/src/views/datatable/DataTableFilterDemo.vue b/src/views/datatable/DataTableFilterDemo.vue
index 096687a2e..2a0817af0 100755
--- a/src/views/datatable/DataTableFilterDemo.vue
+++ b/src/views/datatable/DataTableFilterDemo.vue
@@ -12,7 +12,7 @@
Filter Menu
Filters are displayed in an overlay.
@@ -29,7 +29,7 @@
Loading customers data. Please wait.
-
+
{{data.name}}
@@ -37,7 +37,7 @@
-
+
{{data.country.name}}
@@ -55,7 +55,7 @@
Customized Buttons
-
+
{{data.representative.name}}
@@ -72,7 +72,7 @@
-
+
{{formatDate(data.date)}}
@@ -80,7 +80,7 @@
-
+
{{formatCurrency(data.balance)}}
@@ -88,7 +88,7 @@
-
+
{{data.status}}
@@ -104,7 +104,7 @@
-
+
@@ -116,7 +116,7 @@
-
+
@@ -131,7 +131,7 @@
Filter Row
Filters are displayed inline within a separate row.
@@ -147,7 +147,7 @@
Loading customers data. Please wait.
-
+
{{data.name}}
@@ -155,7 +155,7 @@
-
+
{{data.country.name}}
@@ -164,7 +164,7 @@
-
+
{{data.representative.name}}
@@ -180,7 +180,7 @@
-
+
{{data.status}}
@@ -196,7 +196,7 @@
-
+
@@ -216,7 +216,7 @@
<h5>Filter Menu</h5>
<p>Filters are displayed in an overlay.</p>
<DataTable :value="customers1" :paginator="true" class="p-datatable-customers p-datatable-gridlines" :rows="10"
- dataKey="id" v-model:filters="filters1" filterDisplay="menu" :loading="loading1"
+ dataKey="id" v-model:filters="filters1" filterDisplay="menu" :loading="loading1" responsiveLayout="scroll"
:globalFilterFields="['name','country.name','representative.name','balance','status']">
<template #header>
<div class="p-d-flex p-jc-between">
@@ -233,7 +233,7 @@
<template #loading>
Loading customers data. Please wait.
</template>
- <Column field="name" header="Name">
+ <Column field="name" header="Name" style="min-width:12rem">
<template #body="{data}">
{{data.name}}
</template>
@@ -241,7 +241,7 @@
<InputText type="text" v-model="filterModel.value" class="p-column-filter" placeholder="Search by name"/>
</template>
</Column>
- <Column header="Country" filterField="country.name">
+ <Column header="Country" filterField="country.name" style="min-width:12rem">
<template #body="{data}">
<img src="../../assets/images/flag_placeholder.png" :class="'flag flag-' + data.country.code" width="30" />
<span class="image-text">{{data.country.name}}</span>
@@ -259,7 +259,7 @@
<div class="p-px-3 p-pt-0 p-pb-3 p-text-center p-text-bold">Customized Buttons</div>
</template>
</Column>
- <Column header="Agent" filterField="representative" :showFilterMatchModes="false" :filterMenuStyle="{'width':'14rem'}">
+ <Column header="Agent" filterField="representative" :showFilterMatchModes="false" :filterMenuStyle="{'width':'14rem'}" style="min-width:14rem">
<template #body="{data}">
<img :alt="data.representative.name" :src="'demo/images/avatar/' + data.representative.image" width="32" style="vertical-align: middle" />
<span class="image-text">{{data.representative.name}}</span>
@@ -276,7 +276,7 @@
</MultiSelect>
</template>
</Column>
- <Column header="Date" filterField="date" dataType="date">
+ <Column header="Date" filterField="date" dataType="date" style="min-width:10rem">
<template #body="{data}">
{{formatDate(data.date)}}
</template>
@@ -284,7 +284,7 @@
<Calendar v-model="filterModel.value" dateFormat="mm/dd/yy" placeholder="mm/dd/yyyy" />
</template>
</Column>
- <Column header="Balance" filterField="balance" dataType="numeric">
+ <Column header="Balance" filterField="balance" dataType="numeric" style="min-width:10rem">
<template #body="{data}">
{{formatCurrency(data.balance)}}
</template>
@@ -292,7 +292,7 @@
<InputNumber v-model="filterModel.value" mode="currency" currency="USD" locale="en-US" />
</template>
</Column>
- <Column field="status" header="Status" :filterMenuStyle="{'width':'14rem'}">
+ <Column field="status" header="Status" :filterMenuStyle="{'width':'14rem'}" style="min-width:12rem">
<template #body="{data}">
<span :class="'customer-badge status-' + data.status">{{data.status}}</span>
</template>
@@ -320,7 +320,7 @@
</div>
</template>
</Column>
- <Column field="verified" header="Verified" dataType="boolean" headerStyle="width: 8rem" bodyClass="p-text-center">
+ <Column field="verified" header="Verified" dataType="boolean" bodyClass="p-text-center" style="min-width:8rem">
<template #body="{data}">
<i class="pi" :class="{'true-icon pi-check-circle': data.verified, 'false-icon pi-times-circle': !data.verified}"></i>
</template>
@@ -335,7 +335,7 @@
<h5>Filter Row</h5>
<p>Filters are displayed inline within a separate row.</p>
<DataTable :value="customers2" :paginator="true" class="p-datatable-customers" :rows="10"
- dataKey="id" v-model:filters="filters2" filterDisplay="row" :loading="loading2"
+ dataKey="id" v-model:filters="filters2" filterDisplay="row" :loading="loading2" responsiveLayout="scroll"
:globalFilterFields="['name','country.name','representative.name','status']">
<template #header>
<div class="p-d-flex p-jc-end">
@@ -351,7 +351,7 @@
<template #loading>
Loading customers data. Please wait.
</template>
- <Column field="name" header="Name">
+ <Column field="name" header="Name" style="min-width:12rem">
<template #body="{data}">
{{data.name}}
</template>
@@ -359,7 +359,7 @@
<InputText type="text" v-model="filterModel.value" @keydown.enter="filterCallback()" class="p-column-filter" :placeholder="`Search by name - ${filterModel.matchMode}`" v-tooltip.top.focus="'Hit enter key to filter'"/>
</template>
</Column>
- <Column header="Country" filterField="country.name">
+ <Column header="Country" filterField="country.name" style="min-width:12rem">
<template #body="{data}">
<img src="../../assets/images/flag_placeholder.png" :class="'flag flag-' + data.country.code" width="30" />
<span class="image-text">{{data.country.name}}</span>
@@ -368,7 +368,7 @@
<InputText type="text" v-model="filterModel.value" @input="filterCallback()" class="p-column-filter" placeholder="Search by country" v-tooltip.top.focus="'Filter as you type'"/>
</template>
</Column>
- <Column header="Agent" filterField="representative" :showFilterMenu="false">
+ <Column header="Agent" filterField="representative" :showFilterMenu="false" style="min-width:14rem">
<template #body="{data}">
<img :alt="data.representative.name" :src="'demo/images/avatar/' + data.representative.image" width="32" style="vertical-align: middle" />
<span class="image-text">{{data.representative.name}}</span>
@@ -384,7 +384,7 @@
</MultiSelect>
</template>
</Column>
- <Column field="status" header="Status" :showFilterMenu="false">
+ <Column field="status" header="Status" :showFilterMenu="false" style="min-width:12rem">
<template #body="{data}">
<span :class="'customer-badge status-' + data.status">{{data.status}}</span>
</template>
@@ -400,7 +400,7 @@
</Dropdown>
</template>
</Column>
- <Column field="verified" header="Verified" dataType="boolean" headerStyle="width: 6rem">
+ <Column field="verified" header="Verified" dataType="boolean" style="min-width:6rem">
<template #body="{data}">
<i class="pi" :class="{'true-icon pi-check-circle': data.verified, 'false-icon pi-times-circle': !data.verified}"></i>
</template>
diff --git a/src/views/datatable/DataTableRowExpandDemo.vue b/src/views/datatable/DataTableRowExpandDemo.vue
index c75f52048..4644426a2 100755
--- a/src/views/datatable/DataTableRowExpandDemo.vue
+++ b/src/views/datatable/DataTableRowExpandDemo.vue
@@ -10,7 +10,7 @@
+ @row-expand="onRowExpand" @row-collapse="onRowCollapse" responsiveLayout="scroll">
@@ -43,7 +43,7 @@
Orders for {{slotProps.data.name}}
-
+
@@ -77,7 +77,7 @@
<DataTable :value="products" v-model:expandedRows="expandedRows" dataKey="id"
- @row-expand="onRowExpand" @row-collapse="onRowCollapse">
+ @row-expand="onRowExpand" @row-collapse="onRowCollapse" responsiveLayout="scroll">
<template #header>
<div class="table-header-container">
<Button icon="pi pi-plus" label="Expand All" @click="expandAll" class="p-mr-2" />
@@ -110,7 +110,7 @@
<template #expansion="slotProps">
<div class="orders-subtable">
<h5>Orders for {{slotProps.data.name}}</h5>
- <DataTable :value="slotProps.data.orders">
+ <DataTable :value="slotProps.data.orders" responsiveLayout="scroll">
<Column field="id" header="Id" sortable></Column>
<Column field="customer" header="Customer" sortable></Column>
<Column field="date" header="Date" sortable></Column>
diff --git a/src/views/datatable/DataTableRowGroupDemo.vue b/src/views/datatable/DataTableRowGroupDemo.vue
index aad2e22ea..046183d8c 100755
--- a/src/views/datatable/DataTableRowGroupDemo.vue
+++ b/src/views/datatable/DataTableRowGroupDemo.vue
@@ -43,7 +43,7 @@
Expandable Row Groups
Group customers by their representative.
@@ -75,7 +75,7 @@
RowSpan Grouping
+ sortMode="single" sortField="representative.name" :sortOrder="1" responsiveLayout="scroll">
{{slotProps.index}}
@@ -115,7 +115,7 @@
<div class="card">
<h5>Subheader Grouping</h5>
<p>Group customers by their representative.</p>
- <DataTable :value="customers" rowGroupMode="subheader" groupRowsBy="representative.name"
+ <DataTable :value="customers" rowGroupMode="subheader" groupRowsBy="representative.name" responsiveLayout="scroll"
sortMode="single" sortField="representative.name" :sortOrder="1" scrollable scrollHeight="400px">
<Column field="representative.name" header="Representative"></Column>
<Column field="name" header="Name"></Column>
@@ -147,7 +147,7 @@
<h5>Expandable Row Groups</h5>
<p>Group customers by their representative.</p>
<DataTable :value="customers" rowGroupMode="subheader" groupRowsBy="representative.name"
- sortMode="single" sortField="representative.name" :sortOrder="1"
+ sortMode="single" sortField="representative.name" :sortOrder="1" responsiveLayout="scroll"
:expandableRowGroups="true" v-model:expandedRowGroups="expandedRowGroups"
@rowgroup-expand="onRowGroupExpand" @rowgroup-collapse="onRowGroupCollapse">
<Column field="representative.name" header="Representative"></Column>
@@ -179,7 +179,7 @@
<div class="card">
<h5>RowSpan Grouping</h5>
<DataTable :value="customers" rowGroupMode="rowspan" groupRowsBy="representative.name"
- sortMode="single" sortField="representative.name" :sortOrder="1">
+ sortMode="single" sortField="representative.name" :sortOrder="1" responsiveLayout="scroll">
<Column header="#" headerStyle="width:3em">
<template #body="slotProps">
{{slotProps.index}}
diff --git a/src/views/datatable/DataTableStateDemo.vue b/src/views/datatable/DataTableStateDemo.vue
index f2fb7d4fd..d78d258dd 100755
--- a/src/views/datatable/DataTableStateDemo.vue
+++ b/src/views/datatable/DataTableStateDemo.vue
@@ -12,19 +12,19 @@
Session Storage
+ stateStorage="session" stateKey="dt-state-demo-session" responsiveLayout="scroll">
+
-
+
{{slotProps.data.country.name}}
@@ -33,7 +33,7 @@
-
+
{{slotProps.data.representative.name}}
@@ -49,7 +49,7 @@
-
+
{{slotProps.data.status}}
@@ -71,19 +71,19 @@
Local Storage
+ stateStorage="session" stateKey="dt-state-demo-local" responsiveLayout="scroll">
+
-
+
{{slotProps.data.country.name}}
@@ -92,7 +92,7 @@
-
+
{{slotProps.data.representative.name}}
@@ -108,7 +108,7 @@
-
+
{{slotProps.data.status}}
@@ -138,19 +138,19 @@
<h5>Session Storage</h5>
<DataTable :value="customers" :paginator="true" :rows="10" v-model:filters="filters1"
v-model:selection="selectedCustomer1" selectionMode="single" dataKey="id"
- stateStorage="session" stateKey="dt-state-demo-session">
+ stateStorage="session" stateKey="dt-state-demo-session" responsiveLayout="scroll">
<template #header>
<span class="p-input-icon-left">
<i class="pi pi-search" />
<InputText v-model="filters1['global']" placeholder="Global Search" />
</span>
</template>
- <Column field="name" header="Name" :sortable="true">
+ <Column field="name" header="Name" :sortable="true" style="width:25%">
<template #filter>
<InputText type="text" v-model="filters1['name']" class="p-column-filter" placeholder="Search by name"/>
</template>
</Column>
- <Column header="Country" :sortable="true" sortField="country.name" filterField="country.name" filterMatchMode="contains">
+ <Column header="Country" :sortable="true" sortField="country.name" filterField="country.name" filterMatchMode="contains" style="width:25%">
<template #body="slotProps">
<img src="../../assets/images/flag_placeholder.png" :class="'flag flag-' + slotProps.data.country.code" width="30" />
<span class="image-text">{{slotProps.data.country.name}}</span>
@@ -159,7 +159,7 @@
<InputText type="text" v-model="filters1['country.name']" class="p-column-filter" placeholder="Search by country"/>
</template>
</Column>
- <Column header="Representative" :sortable="true" sortField="representative.name" filterField="representative.name" filterMatchMode="in">
+ <Column header="Representative" :sortable="true" sortField="representative.name" filterField="representative.name" filterMatchMode="in" style="width:25%">
<template #body="slotProps">
<img :alt="slotProps.data.representative.name" :src="'demo/images/avatar/' + slotProps.data.representative.image" width="32" style="vertical-align: middle" />
<span class="image-text">{{slotProps.data.representative.name}}</span>
@@ -175,7 +175,7 @@
</MultiSelect>
</template>
</Column>
- <Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
+ <Column field="status" header="Status" :sortable="true" filterMatchMode="equals" style="width:25%">
<template #body="slotProps">
<span :class="'customer-badge status-' + slotProps.data.status">{{slotProps.data.status}}</span>
</template>
@@ -197,19 +197,19 @@
<h5>Local Storage</h5>
<DataTable :value="customers" :paginator="true" :rows="10" v-model:filters="filters2"
v-model:selection="selectedCustomer2" selectionMode="single" dataKey="id"
- stateStorage="session" stateKey="dt-state-demo-local">
+ stateStorage="session" stateKey="dt-state-demo-local" responsiveLayout="scroll">
<template #header>
<span class="p-input-icon-left">
<i class="pi pi-search" />
<InputText v-model="filters2['global']" placeholder="Global Search" />
</span>
</template>
- <Column field="name" header="Name" :sortable="true">
+ <Column field="name" header="Name" :sortable="true" style="width:25%">
<template #filter>
<InputText type="text" v-model="filters2['name']" class="p-column-filter" placeholder="Search by name"/>
</template>
</Column>
- <Column header="Country" :sortable="true" sortField="country.name" filterField="country.name" filterMatchMode="contains">
+ <Column header="Country" :sortable="true" sortField="country.name" filterField="country.name" filterMatchMode="contains" style="width:25%">
<template #body="slotProps">
<img src="../../assets/images/flag_placeholder.png" :class="'flag flag-' + slotProps.data.country.code" width="30" />
<span class="image-text">{{slotProps.data.country.name}}</span>
@@ -218,7 +218,7 @@
<InputText type="text" v-model="filters2['country.name']" class="p-column-filter" placeholder="Search by country"/>
</template>
</Column>
- <Column header="Representative" :sortable="true" sortField="representative.name" filterField="representative.name" filterMatchMode="in">
+ <Column header="Representative" :sortable="true" sortField="representative.name" filterField="representative.name" filterMatchMode="in" style="width:25%">
<template #body="slotProps">
<img :alt="slotProps.data.representative.name" :src="'demo/images/avatar/' + slotProps.data.representative.image" width="32" style="vertical-align: middle" />
<span class="image-text">{{slotProps.data.representative.name}}</span>
@@ -234,7 +234,7 @@
</MultiSelect>
</template>
</Column>
- <Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
+ <Column field="status" header="Status" :sortable="true" filterMatchMode="equals" style="width:25%">
<template #body="slotProps">
<span :class="'customer-badge status-' + slotProps.data.status">{{slotProps.data.status}}</span>
</template>
diff --git a/src/views/datatable/DataTableTemplatingDemo.vue b/src/views/datatable/DataTableTemplatingDemo.vue
index ff933997c..43d93d9a7 100755
--- a/src/views/datatable/DataTableTemplatingDemo.vue
+++ b/src/views/datatable/DataTableTemplatingDemo.vue
@@ -27,7 +27,6 @@
{{formatCurrency(slotProps.data.price)}}
-
-
-
@@ -70,7 +69,6 @@
{{formatCurrency(slotProps.data.price)}}
</template>
</Column>
- <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" />
@@ -165,7 +163,6 @@ export default {
{{formatCurrency(slotProps.data.price)}}
-
diff --git a/src/views/deferredcontent/DeferredContentDemo.vue b/src/views/deferredcontent/DeferredContentDemo.vue
index 8cc149ce9..98e88681e 100755
--- a/src/views/deferredcontent/DeferredContentDemo.vue
+++ b/src/views/deferredcontent/DeferredContentDemo.vue
@@ -21,7 +21,7 @@
-
+
diff --git a/src/views/deferredcontent/DeferredContentDoc.vue b/src/views/deferredcontent/DeferredContentDoc.vue
index 897985337..f225e3849 100755
--- a/src/views/deferredcontent/DeferredContentDoc.vue
+++ b/src/views/deferredcontent/DeferredContentDoc.vue
@@ -86,7 +86,7 @@ import DeferredContent from 'primevue/deferredcontent';
</div>
<DeferredContent @load="onDataLoad">
- <DataTable :value="products">
+ <DataTable :value="products" responsiveLayout="scroll">
<Column field="code" header="Code"></Column>
<Column field="name" header="Name"></Column>
<Column field="category" header="Category"></Column>
diff --git a/src/views/filterservice/FilterServiceDemo.vue b/src/views/filterservice/FilterServiceDemo.vue
index 8092ad661..5325f222c 100644
--- a/src/views/filterservice/FilterServiceDemo.vue
+++ b/src/views/filterservice/FilterServiceDemo.vue
@@ -12,7 +12,7 @@
Table Integration
A custom equals filter that checks for exact case sensitive value is registered and defined as a match mode of a column filter.
-
No customers found.
diff --git a/src/views/filterservice/FilterServiceDoc.vue b/src/views/filterservice/FilterServiceDoc.vue
index 86f5330f7..3acb114dd 100644
--- a/src/views/filterservice/FilterServiceDoc.vue
+++ b/src/views/filterservice/FilterServiceDoc.vue
@@ -206,7 +206,7 @@ FilterService.filters['isPrimeNumber'](568985673); //false
-<DataTable :value="customers" :paginator="true" :rows="10"
+<DataTable :value="customers" :paginator="true" :rows="10" responsiveLayout="scroll"
dataKey="id" v-model:filters="filters" filterDisplay="row" :loading="loading">
<template #empty>
No customers found.
diff --git a/src/views/overlaypanel/OverlayPanelDemo.vue b/src/views/overlaypanel/OverlayPanelDemo.vue
index f5f40faeb..0bb5c13ee 100755
--- a/src/views/overlaypanel/OverlayPanelDemo.vue
+++ b/src/views/overlaypanel/OverlayPanelDemo.vue
@@ -12,7 +12,7 @@
-
+
diff --git a/src/views/overlaypanel/OverlayPanelDoc.vue b/src/views/overlaypanel/OverlayPanelDoc.vue
index d8ac2b383..60aaff190 100755
--- a/src/views/overlaypanel/OverlayPanelDoc.vue
+++ b/src/views/overlaypanel/OverlayPanelDoc.vue
@@ -161,7 +161,7 @@ toggle(event) {
<Button type="button" icon="pi pi-search" :label="selectedProduct ? selectedProduct.name : 'Select a Product'" @click="toggle" aria:haspopup="true" aria-controls="overlay_panel" />
<OverlayPanel ref="op" appendTo="body" :showCloseIcon="true" id="overlay_panel" style="width: 450px">
- <DataTable :value="products" v-model:selection="selectedProduct" selectionMode="single" :paginator="true" :rows="5" @row-select="onProductSelect">
+ <DataTable :value="products" v-model:selection="selectedProduct" selectionMode="single" :paginator="true" :rows="5" @row-select="onProductSelect" responsiveLayout="scroll">
<Column field="name" header="Name" sortable></Column>
<Column header="Image">
<template #body="slotProps">
diff --git a/src/views/responsive/ResponsiveDemo.vue b/src/views/responsive/ResponsiveDemo.vue
index ca5f5445b..853600abe 100644
--- a/src/views/responsive/ResponsiveDemo.vue
+++ b/src/views/responsive/ResponsiveDemo.vue
@@ -263,7 +263,7 @@
+ currentPageReportTemplate="Showing {first} to {last} of {totalRecords} entries" responsiveLayout="scroll">
DataTable
@@ -276,24 +276,24 @@
No customers found.
-
-
+
+
{{slotProps.data.name}}
-
+
{{slotProps.data.country.name}}
-
+
{{slotProps.data.status}}
-
+
diff --git a/src/views/skeleton/SkeletonDemo.vue b/src/views/skeleton/SkeletonDemo.vue
index 85e029324..cab793186 100644
--- a/src/views/skeleton/SkeletonDemo.vue
+++ b/src/views/skeleton/SkeletonDemo.vue
@@ -114,7 +114,7 @@
DataTable
-
+
diff --git a/src/views/skeleton/SkeletonDoc.vue b/src/views/skeleton/SkeletonDoc.vue
index 47ad5791a..05a73b64f 100644
--- a/src/views/skeleton/SkeletonDoc.vue
+++ b/src/views/skeleton/SkeletonDoc.vue
@@ -389,7 +389,7 @@ export default {
DataTable
-
+