-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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.
It is possible. You may override one of Renderer methods. For example:
private static final PivotRenderer _CUSTOM_RENDERER = new SimplePivotRenderer() {
@Override
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;
}
};
Asked: 2014-10-06 14:05:36 +0800
Seen: 12 times
Last updated: Jan 04 '15
Missing default value for internationalization in zul [closed]
Locale problem in DoubleSpinner on IOS (Ipad, Iphone)
How to get a label value for all the different international label file?
Internationalization properties for custom component
ZK9 internationalization java.lang.IllegalStateException
Labels from DB using Spring Boot