Page 1 of 1

Sum calculation on top of table

Posted: 2018-04-19 20:25
by pbottcher
Hi, I have a feature request.

it would be nice to have a selection option to display the sum calculation at the beginning of the table.
Currently it is display always at the end of the table.

today in the TABLENAME-view.php the entries get created like
$x->HTML = str_replace('<!-- tv data below -->', '', $x->HTML);
$x->HTML = str_replace('<!-- tv data above -->', $sumRow, $x->HTML);

with the switch turned to "top of the table" it could be like
$x->HTML = str_replace('<!-- tv data below -->', $sumRow, $x->HTML);
$x->HTML = str_replace('<!-- tv data above -->', '', $x->HTML);

Thanks
Pascal

Re: Sum calculation on top of table

Posted: 2018-04-22 08:31
by a.gneady
Thanks for the suggestion and code :)
I've added it to our to-do list for future releases. Stay tuned!