Add empty records message
parent
894712d78e
commit
4f1b0d90cc
|
@ -21,6 +21,9 @@
|
||||||
<InputText v-model="filters['global']" placeholder="Global Search" />
|
<InputText v-model="filters['global']" placeholder="Global Search" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template #empty>
|
||||||
|
No customers found.
|
||||||
|
</template>
|
||||||
<Column selectionMode="multiple" headerStyle="width: 3em"></Column>
|
<Column selectionMode="multiple" headerStyle="width: 3em"></Column>
|
||||||
<Column field="name" header="Name" :sortable="true">
|
<Column field="name" header="Name" :sortable="true">
|
||||||
<template #body="slotProps">
|
<template #body="slotProps">
|
||||||
|
@ -60,7 +63,7 @@
|
||||||
</Column>
|
</Column>
|
||||||
<Column field="date" header="Date" :sortable="true" filterMatchMode="custom" :filterFunction="filterDate">
|
<Column field="date" header="Date" :sortable="true" filterMatchMode="custom" :filterFunction="filterDate">
|
||||||
<template #filter>
|
<template #filter>
|
||||||
<Calendar v-model="filters['date']" dateFormat="yy-mm-dd" class="p-column-filter" filterMatchMode="equals" placeholder="Registration Date"/>
|
<Calendar v-model="filters['date']" dateFormat="yy-mm-dd" class="p-column-filter" placeholder="Registration Date"/>
|
||||||
</template>
|
</template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
|
<Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
|
||||||
|
|
|
@ -2323,6 +2323,9 @@ export default {
|
||||||
<InputText v-model="filters['global']" placeholder="Global Search" />
|
<InputText v-model="filters['global']" placeholder="Global Search" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template #empty>
|
||||||
|
No customers found.
|
||||||
|
</template>
|
||||||
<Column selectionMode="multiple" headerStyle="width: 3em"></Column>
|
<Column selectionMode="multiple" headerStyle="width: 3em"></Column>
|
||||||
<Column field="name" header="Name" :sortable="true">
|
<Column field="name" header="Name" :sortable="true">
|
||||||
<template #body="slotProps">
|
<template #body="slotProps">
|
||||||
|
@ -2362,7 +2365,7 @@ export default {
|
||||||
</Column>
|
</Column>
|
||||||
<Column field="date" header="Date" :sortable="true" filterMatchMode="custom" :filterFunction="filterDate">
|
<Column field="date" header="Date" :sortable="true" filterMatchMode="custom" :filterFunction="filterDate">
|
||||||
<template #filter>
|
<template #filter>
|
||||||
<Calendar v-model="filters['date']" dateFormat="yy-mm-dd" class="p-column-filter" filterMatchMode="equals" placeholder="Registration Date"/>
|
<Calendar v-model="filters['date']" dateFormat="yy-mm-dd" class="p-column-filter" placeholder="Registration Date"/>
|
||||||
</template>
|
</template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
|
<Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
|
||||||
|
|
Loading…
Reference in New Issue