|
Yeah, this is not how you get data into
the DataGrid. Just assign dataGrid.dataProvider = dataProvider and see if that
will work for you. From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand Hello
! I've
got "TypeError: Error #1034: Type Coersion failed: cannot convert
[EMAIL PROTECTED] to flash.display.DisplayObject" in Flex 2.0. I
have the error using mx.controls.DataGrid in the following way:
var dataProvider:Array = new Array();
var column:DataGridColumn = new DataGridColumn();
...
if (dataProvider != null && dataProvider.length > 0) { My
"dataGrid" has all settings to handle data properly and it's shown
all data, but it always produces the error above too. Any
idea to workaround this situation ? Has anybody faced it ? Thanks
in advance !
|
Title: Flex 2.0: DataGrid.addChild - TypeError

