Paginator Demo update with custom content

pull/12/head
cagataycivici 2019-06-29 14:34:29 +03:00
parent 6f20655a74
commit ac26548df2
2 changed files with 14 additions and 0 deletions

View File

@ -129,6 +129,14 @@ export default {
lazy: { lazy: {
type: Boolean, type: Boolean,
default: false default: false
},
loading: {
type: Boolean,
default: false
},
loadingIcon: {
type: String,
default: 'pi pi-spinner'
} }
}, },
data() { data() {

View File

@ -15,6 +15,12 @@
<Column field="year" header="Year"></Column> <Column field="year" header="Year"></Column>
<Column field="brand" header="Brand"></Column> <Column field="brand" header="Brand"></Column>
<Column field="color" header="Color"></Column> <Column field="color" header="Color"></Column>
<template #paginatorLeft>
<Button type="button" icon="pi pi-refresh" />
</template>
<template #paginatorRight>
<Button type="button" icon="pi pi-cloud" />
</template>
</DataTable> </DataTable>
</div> </div>
</div> </div>