How to remove (SUM) from column header caption in reports

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mkweiss
User
Posts: 10

How to remove (SUM) from column header caption in reports

Post by mkweiss »

How can I remove the "(SUM)" and "(AVG)" text that is appended to the column header captions in reports?


sticcino
User
Posts: 1043

Post by sticcino »

clear out the following in your page_load event of the reports

$GLOBALS["Language"]->SetPhrase("rptsum","");        
$GLOBALS["Language"]->SetPhrase("total","");        
$GLOBALS["Language"]->SetPhrase("aggregatecolon","");        
$GLOBALS["Language"]->SetPhrase("summarycolon","");        
$GLOBALS["Language"]->SetPhrase("aggregateequal"," ");

mkweiss
User
Posts: 10

Post by mkweiss »

That worked, Thanks!. Except the parentheses "()" still show up after the column header. Any work-around for that?


arbei
User
Posts: 9422

Post by arbei »

Right click the HTML element in your browser and select "Inspect" (assume Chrome), check the id or class of the element, then just add your own CSS under HTML > Styles > User to hide them (e.g. display: none).


Post Reply