From 6d4fac6c2a45ca786060f71ebb145518acd68069 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 28 Jun 2019 17:40:32 +0300 Subject: [PATCH] Templating trial --- src/components/column/Column.vue | 24 ++++++++ src/components/datatable/DataTable.vue | 39 +++++++++++- src/router.js | 5 ++ src/views/datatable/DataTableDemo.vue | 6 +- src/views/datatable/DataTableSubMenu.vue | 13 ++++ .../datatable/DataTableTemplatingDemo.vue | 59 +++++++++++++++++++ 6 files changed, 142 insertions(+), 4 deletions(-) create mode 100644 src/views/datatable/DataTableSubMenu.vue create mode 100644 src/views/datatable/DataTableTemplatingDemo.vue diff --git a/src/components/column/Column.vue b/src/components/column/Column.vue index 30a5b4271..788dd77dc 100644 --- a/src/components/column/Column.vue +++ b/src/components/column/Column.vue @@ -24,6 +24,30 @@ export default { footer: { type: null, default: null + }, + headerStyle: { + type: null, + default: null + }, + headerClass: { + type: String, + default: null + }, + bodyStyle: { + type: null, + default: null + }, + bodyClass: { + type: String, + default: null + }, + footerStyle: { + type: null, + default: null + }, + footerClass: { + type: String, + default: null } }, render() { diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 318f76a63..5f29860ec 100644 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -1,19 +1,24 @@