Threaded View
-
29 Aug 2012 3:39 AM #1
AggregationRowConfig.setCellStyle is beeing used for all columns
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
Virtual Machine
No
Description
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.
Run mode
Development Mode
Test case
Code:AggregationRowConfig<T> agg = new AggregationRowConfig<T>(); agg.setRenderer(column1, new SummarySafeHtmlRenderer<T>("column1 summary")); agg.setRenderer(column2, new SummarySafeHtmlRenderer<T>("column2 summary")); agg.setCellStyle(column1, MY_TEXTALIGN_RIGHT); agg.setCellStyle(column2, MY_TEXTALIGN_LEFT);
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTGWT-2755
in
3.0.4.


Reply With Quote