Skip to content

Commit

Permalink
Add Row values in formatFn (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemengatto authored and xaksis committed Nov 14, 2019
1 parent 768293f commit ae4a9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1439,7 +1439,7 @@ export default {
if (typeof selectAllByPage === 'boolean') {
this.selectAllByPage = selectAllByPage;
}
if (typeof disableSelectInfo === 'boolean') {
this.disableSelectInfo = disableSelectInfo;
}
Expand Down

0 comments on commit ae4a9f5

Please sign in to comment.