In my data array I have rows per person filled with a couple of number values like this:
{
name: 'John doe',
monday: 29837,
tuesday: 30753,
wednesday: 28079,
thursday: 27144,
friday: 27016,
},
I need to calculate the total value per week. The only way I manage to get this is by displaying em like:
{{ props.row.monday + props.row.tuesday }}
But I'm sure there is a way better way than this.