Table grand total internationalization

asked 2014-10-06 14:05:36 +0800

QwertyUser gravatar image QwertyUser

Is there any way i can customize the title of the grand total column? An example for field-control i found using custom attributes <custom-attributes rowlisttitle="My Rows:"/>. Are there custom attributes for the table olso? If yes, where can i find them?

Thank you.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-01-04 20:37:48 +0800

zelinskiy gravatar image zelinskiy

updated 2015-01-04 20:39:37 +0800

It is possible. You may override one of Renderer methods. For example:

private static final PivotRenderer _CUSTOM_RENDERER =   new SimplePivotRenderer() {
        public String renderGrandTotalField(Pivottable paramPivottable,PivotField paramPivotField) {
            return "YOUR_GRAND_TOTAL_LABEL";            

And then use this Renderer in PivotConfigurator

public static final PivotConfigurator CONFIG_CITY_SALES =new BasePivotConfigurator("Sales by City") {
    public void configure(TabularPivotModel model) {
    public void configure(Pivottable table) {
    public PivotRenderer getRenderer() {
       return _CUSTOM_RENDERER;
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2014-10-06 14:05:36 +0800

Seen: 12 times

Last updated: Jan 04 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More