I'm using Flex 2.0.1 SDK, and I have a class that extends mx:DataGrid.

One of the methods in my class is dependent on listItems which is a map of
item renderers.

I'm trying to test my method with FlexUnit, but I can't get listItems
populated so the test can't really
check anything.

In my FlexUnit test, I'm adding the DataGrid instance to a container to get
all of it's properties
initialized. I'm also adding columns to the DG instance. I'm adding data
that maps to those columns.
I've tried calling validateNow(), invalidateList() and
invalidateDisplayList(), but nothing I've done so
far has managed to get listItems populated.

Any suggestions on what I can in FlexUnit to get the grid to create item
renderers?

Thanks,
- Glenn

Reply via email to