Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
windows 7, flash player 16,0,0,252, flex 4.13.0
Description
if you set the doubleClickMode on a spark datagrid, it compiles but throws this at runtime:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::DataGrid/set doubleClickMode()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/components/DataGrid.as:1592]
at dgTest/_dgTest_DataGrid1_i()[E:\flex\wp\src\dgTest.mxml:6]
at dgTest/_dgTest_Array1_c()
at mx.core::DeferredInstanceFromFunction/getInstance()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as:116]
at spark.components::SkinnableContainer/createDeferredContent()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/components/SkinnableContainer.as:1091]
...
not a biggie & tested more out of curiosity as you can work out much of what you need from the GridEvent itself.