FLEX-33824 DG's nestlevel trick would fail in certain situations. Force validation before mucking with nestLevel
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3e752d9c Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3e752d9c Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3e752d9c Branch: refs/heads/develop Commit: 3e752d9c63682fbe48cc58b27fdc73260376be74 Parents: e1a6549 Author: Alex Harui <[email protected]> Authored: Fri Oct 18 12:42:13 2013 -0700 Committer: Alex Harui <[email protected]> Committed: Fri Oct 18 12:42:13 2013 -0700 ---------------------------------------------------------------------- frameworks/projects/spark/src/spark/components/DataGrid.as | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3e752d9c/frameworks/projects/spark/src/spark/components/DataGrid.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/components/DataGrid.as b/frameworks/projects/spark/src/spark/components/DataGrid.as index 3ee69f0..32358f8 100644 --- a/frameworks/projects/spark/src/spark/components/DataGrid.as +++ b/frameworks/projects/spark/src/spark/components/DataGrid.as @@ -3427,7 +3427,10 @@ public class DataGrid extends SkinnableContainerBase elt.dataGrid = this; if (elt.nestLevel <= grid.nestLevel) + { + elt.validateNow(); elt.nestLevel = grid.nestLevel + 1; + } } /**
