Remove Duplicate Values in Group Summary
The following example, I have the table name "payments", and the column name "amount".
<?php
$dg = new C_DataGrid("SELECT * FROM payments", "customerNumber", "payments");
$dg->set_group_properties('amount');
$dg->set_group_summary('amount','sum');
$dg -> display();
?>
<style>
tr[jqfootlevel="0"] td[aria-describedby=payments_amount]{
color:transparent;
}
</style>
Remember to change "payments_amount" to reflect your own table name and column name. Add the CSS style it at the end of the page BEFORE ending body tag.