From c11a493df913a5dc807859c59c9c3802ccafca1c Mon Sep 17 00:00:00 2001 From: Felipe Mengatto Date: Tue, 29 Oct 2019 17:00:16 -0300 Subject: [PATCH] Add Row values in formatFn --- src/components/Table.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Table.vue b/src/components/Table.vue index da0c27c0..03bfc096 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -1122,7 +1122,7 @@ export default { // if user has supplied custom formatter, // use that here if (column.formatFn && typeof column.formatFn === 'function') { - return column.formatFn(value); + return column.formatFn(value, obj); } // lets format the resultant data @@ -1439,7 +1439,7 @@ export default { if (typeof selectAllByPage === 'boolean') { this.selectAllByPage = selectAllByPage; } - + if (typeof disableSelectInfo === 'boolean') { this.disableSelectInfo = disableSelectInfo; }