Success! Looks like we've fixed this one. According to our records the fix was applied for
AggregationRowConfig.setCellStyle is beeing used for all columns
Version(s) of Ext GWT
Ext GWT 3.0.1
Browser versions and OS (and desktop environment, if applicable)
IE 9 Windows 7
I'm using an aggregation grid. I want some of the summaries to have text-align = left, and some text-align = right. Using AggregationRowConfig.setCellStyle(ColumnConfig, style) it should be possible to define different styles for different columns. Instead, all of the styles are beeing applied to all columns.
In my test case both columns are aligned right. You can even coment out either the first or the second style line - both columns get the defined style.
AggregationRowConfig<T> agg = new AggregationRowConfig<T>();
agg.setRenderer(column1, new SummarySafeHtmlRenderer<T>("column1 summary"));
agg.setRenderer(column2, new SummarySafeHtmlRenderer<T>("column2 summary"));
Ext GWT Premium Member
I can confirm this bug still exists in GXT 3.0.3.
The problem is in the doRender() method of the ColumnFooter class. The cellClass variable is not being reset inside the "loop each cell per row" for loop. Should be a simple fix.
Thanks, you're absolutely correct - we fixed a similar issue a while ago, but apparently missed this one.
This has been fixed in SVN and the latest nightly build, and will be available in the next release.