Skip to content

Commit

Permalink
Pass row data to formatter (spatie#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnassr authored and sebastiandedeyne committed Aug 18, 2017
1 parent 6a79ede commit 1c9d1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TableCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
}

data.domProps = {};
data.domProps.innerHTML = props.column.formatter(props.row.getValue(props.column.show));
data.domProps.innerHTML = props.column.formatter(props.row.getValue(props.column.show), props.row.data);

return createElement('td', data);
},
Expand Down

0 comments on commit 1c9d1f6

Please sign in to comment.