Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK 3.0 (Release)
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a AdvancedDataGrid containing columns and data, and show it
2. While it it visible, set a formatter on one of its columns
Actual Results:
Nothing happens visually. Only after a redraw is forced (for example when it's got hierarchical data by expanding some nodes) the formatter takes effect.
Expected Results:
The formatter should take effect immediately.
Workaround (if any):
Changing other properties of a column does force it to refresh, so just setting one of those properties (like dataField) to its current value whenever you set a formatter on it solves it.
Solution:
Didn't test, but it looks like changing owner.invalidateDisplayList() to owner.invalidateList() in AdvancedDataGridColumn.set formatter should fix this bug.
Simple example showing the problem attached.