diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue
index 7d25d2302..66375e3f8 100644
--- a/src/components/datatable/DataTable.vue
+++ b/src/components/datatable/DataTable.vue
@@ -69,24 +69,7 @@
-
+
0);
},
- hasFooter() {
- let hasFooter = false;
-
- if (this.footerColumnGroup) {
- hasFooter = true;
- }
- else {
- for (let col of this.columns) {
- if (col.footer || col.$scopedSlots.footer) {
- hasFooter = true;
- break;
- }
- }
- }
-
- return hasFooter;
- },
hasFilters() {
return this.filters && Object.keys(this.filters).length > 0 && this.filters.constructor === Object;
},
@@ -1719,11 +1685,11 @@ export default {
}
},
components: {
- 'ColumnSlot': ColumnSlot,
'DTPaginator': Paginator,
'DTBodyCell': BodyCell,
//'DTScrollableView': ScrollableView,
- 'DTTableHeader': TableHeader
+ 'DTTableHeader': TableHeader,
+ 'DTTableFooter': TableFooter
}
}
diff --git a/src/components/datatable/TableFooter.vue b/src/components/datatable/TableFooter.vue
new file mode 100644
index 000000000..3cdd878d0
--- /dev/null
+++ b/src/components/datatable/TableFooter.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
\ No newline at end of file