Hi,
Im trying to add a component that extends Sprite as a header renderer
in a advance datagrid.
When i try to set the drop-in renderer it gives the following error:
Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed:
cannot convert render...@617d901 to
mx.controls.listClasses.IListItemRenderer.)
mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://
www.adobe.com/2006/flex/mx/internal::columnItemRenderer
mx.controls.advancedDataGridClasses::AdvancedDataGridBase/
getHeaderRenderer
mx.controls::AdvancedDataGrid/createHeaderItems
mx.controls::AdvancedDataGrid/createHeaderItems
mx.controls::AdvancedDataGrid/createHeaders
mx.controls::AdvancedDataGrid/calculateHeaderHeight
mx.controls::AdvancedDataGridBaseEx/makeRowsAndColumns
mx.controls::AdvancedDataGrid/makeRowsAndColumns
mx.controls.listClasses::AdvancedListBase/
makeRowsAndColumnsWithExtraRows
mx.controls.listClasses::AdvancedListBase/updateDisplayList
mx.controls::AdvancedDataGridBaseEx/updateDisplayList
mx.controls::AdvancedDataGrid/updateDisplayList
mx.controls.listClasses::AdvancedListBase/validateDisplayList
mx.managers::LayoutManager/validateDisplayList
mx.managers::LayoutManager/doPhasedInstantiation
Function/http://adobe.com/AS3/2006/builtin::apply [no source]
mx.core::UIComponent/callLaterDispatcher2
mx.core::UIComponent/callLaterDispatcher
I understand Flex 4 can do this not sure on 3.
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.