_zoidberg_
03-03-2009, 09:07 PM
hey guys,
i want use a comboBox in a datagrid as itemEditor while still using the default textfield as cellrenderer (like here: http://blog.flexmonkeypatches.com/2008/02/18/simple-datagrid-combobox-as-item-editor-example/ - you have to scroll down a little bit. this example is written in flex, i need it in common as3.).
when i click into a datagrid cell, the combobox appears. so far so good. but if close the dropdown list, i'm getting these error messages:
TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.
at fl.controls::ComboBox/close()
at classes.trainingSchedule::ComboBoxCellRenderer/close()
at fl.controls::ComboBox/fl.controls:ComboBox::onListChange()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at fl.controls::SelectableList/fl.controls:SelectableList::handleCellRendererClic k()
i tried to solve this problem for hours and days without any result.
could someone help me?
thanks
zoidberg
i want use a comboBox in a datagrid as itemEditor while still using the default textfield as cellrenderer (like here: http://blog.flexmonkeypatches.com/2008/02/18/simple-datagrid-combobox-as-item-editor-example/ - you have to scroll down a little bit. this example is written in flex, i need it in common as3.).
when i click into a datagrid cell, the combobox appears. so far so good. but if close the dropdown list, i'm getting these error messages:
TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.
at fl.controls::ComboBox/close()
at classes.trainingSchedule::ComboBoxCellRenderer/close()
at fl.controls::ComboBox/fl.controls:ComboBox::onListChange()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at fl.controls::SelectableList/fl.controls:SelectableList::handleCellRendererClic k()
i tried to solve this problem for hours and days without any result.
could someone help me?
thanks
zoidberg