I changed my MXML component from Container to Canvas, that made my GUI visible.
One other GUI problem I got is that
when I change DataGrid data,
in puts DataGrid on top of all other data fields
thus coveringthem up.
Setting dataGrid.x=100 has no effect.
That worked fine in Flex3 (DataGrid and other GUI components are in VBox),
but broke while blending Flex4 with Flex3.
In my component I have:
So in main class it gets:
Any advice ?
As I mentioned, when I reassingn a Datagrid's dataSource to a new collection (either populated from the data file or generated like rowCount, columnCount), it always places my DataGrid on top of other GUI components (top right corner).
assigning dataGrid.x=100 , dataGrid.bottom=10, dataGrid.verticalCenter=20 does not change anything, I think, because it is inside VBox.
I checked what happened in pure Flex3 case, it was putting this DataGrid towards the bottom of the screen (even without any position-related assignments)
So in Flex4 code I started putting that Component inside (Flex3) TabNavigator.
That is the only difference I see.
Any help is very appreciated !