Skip to content

Commit

Permalink
Improve FOOTER_VALUE_GETTER expression
Browse files Browse the repository at this point in the history
  • Loading branch information
hyyan committed Jun 25, 2018
1 parent 584b00a commit 8f7adf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Demo/Enterprise/AggregationDemo.bbj
Expand Up @@ -55,7 +55,7 @@ setupGrid:
rs!.setAttribute(costIndex!,"ENABLE_VALUE","1")
rs!.setAttribute(costIndex!,"AGG_FUNC","sum")
rs!.setAttribute(costIndex!,"ALLOWED_AGG_FUNCS","sum,avg")
rs!.setAttribute(costIndex!,"FOOTER_VALUE_GETTER","'Cost Total' + '(' + BBj.Masks.Types.number(x, '##,##.0' , ',' , '.') + ') $' ")
rs!.setAttribute(costIndex!,"FOOTER_VALUE_GETTER","if(x) {return 'Cost Total' + '(' + BBj.Masks.Types.number(x, '##,##.0' , ',' , '.') + ') $'} else {return x} ")

grid! = new BBjGridExWidget(wnd!,100,0,40,800,560)

Expand Down

0 comments on commit 8f7adf2

Please sign in to comment.