Paul Hastings created FLEX-34710:
------------------------------------

             Summary: spark datagrid doubleClickMode throws Error #1009 when 
the application is run
                 Key: FLEX-34710
                 URL: https://issues.apache.org/jira/browse/FLEX-34710
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: DataGrid
         Environment: windows 7, flash player 16,0,0,252
            Reporter: Paul Hastings
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to