Skip to content

Instantly share code, notes, and snippets.

@joelklabo
Created December 8, 2010 04:41
Show Gist options
  • Save joelklabo/732893 to your computer and use it in GitHub Desktop.
Save joelklabo/732893 to your computer and use it in GitHub Desktop.
In advanced datagrid
TypeError: Error #1010: A term is undefined and has no properties.
at org.flex_pilot::FPRecorder$/handleEvent()[/Users/joelklabo/Desktop/experimental/flex-pilot/src/org/flex_pilot/FPRecorder.as:315]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
at mx.controls.listClasses::AdvancedListBase/mouseUpHandler()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\controls\listClasses\AdvancedListBase.as:9529]
at mx.controls::AdvancedDataGridBaseEx/mouseUpHandler()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:7182]
at mx.controls::AdvancedDataGrid/mouseUpHandler()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\controls\AdvancedDataGrid.as:8634]
---------- Here is the code around line 315 in FPRecorder.as:
310
case (((e is ListEvent
|| e is IndexChangedEvent
|| e is eventMap[IndexChangedEvent])
&& ( targ is ComboBox
|| targ is componentMap[ComboBox] <----- This is line 315
|| targ is ListBase
|| targ is componentMap[ListBase]
|| targ is AdvancedListBase) )
&& e.type==ListEvent.CHANGE) :
condTest=false;
_this.generateAction('select', targ);
_this.resetRecentTarget('change', e);
break;
325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment