Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34710

spark datagrid doubleClickMode throws Error #1009 when the application is run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Apache Flex 4.14.0
    • Spark: DataGrid
    • 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.

      Attachments

        1. dgTest.mxml
          1 kB
          Paul Hastings

        Activity

          People

            paeros Mark Kessler
            coldfusionpaul Paul Hastings
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: