2009-12-30

Error 1069 with item renderers/editors

Just in case you happen to be working with a DataGrid and itemRenderers / itemEditors, as you test (in my case a CheckBox was used as an itemRenderers / itemEditors), you might see the error below get thrown:

ReferenceError: Error #1069: Property null not found on [some class] and there is no default value.
at mx.controls::AdvancedDataGridBaseEx/itemEditorItemEditEndHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::AdvancedDataGridBaseEx/endEdit()
at mx.controls::AdvancedDataGridBaseEx/deactivateHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::AdvancedDataGridBaseEx/endEdit()
at mx.controls::AdvancedDataGridBaseEx/mouseDownHandler()
at mx.controls::AdvancedDataGrid/mouseDownHandler()

The mistake I made was dumb, I basically forgot to specify the dataField and editorDataField properties on the DataGridColumn. So make sure you specify those values when working with itemRenderers / itemEditors!

2009-12-22

Participate in Flex Survey

Here is your chance to help improve Flex, go take the following survery.

2009-12-01

Anyone know how to display currency symbols?

Anyone know how to display currency symbols in Flex (for euro, pound, yen, etc...)? Without the use of icons?Any help is greatly appreciated.