Skip navigation
Currently Being Moderated

Spark DataGrid throws double-click (bug?)

Dec 5, 2012 11:49 PM

I've simple usage of Spark DataGrid in my AIR application, as follows:


<s:DataGrid id="dgHosts"

                                                  dataProvider="{CollectionAC}" itemRenderer="components.renderers.HostRenderer"

                                                  width="100%" height="100%"

                                                  sortableColumns="true" variableRowHeight="true" borderVisible="false"

                                                  contentBackgroundColor="0xe0e0e0" selectionColor="0xf6f6f6" doubleClickEnabled="false"



Here 'HostRenderer' is type of GridItemRenderer as it should be. The problem is despite of making 'doubleClickEnabled' to false, the gridClick even fires twice if double-clicked on any of the grid item row! Is this supposed to be, when doubleClickEnabled set to 'false'! It creates some complexities managing things as I couldn't able to understand when its double clicked! I've even tried to see what it's 'target' while a double click event occurs, and its always return 'grid' as its target - is there anyway to overcomple this double click issue?







Santanu. K


  • Currently Being Moderated
    Dec 6, 2012 9:32 AM   in reply to Santanu Karar

    I think some folks delay their click handling in case a double-click comes in.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points