I've simple usage of Spark DataGrid in my AIR application, as follows:
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?
I think some folks delay their click handling in case a double-click comes in.
Even I did so.. as a probable patch to this problem (by checking a flag when double click occured), but it doesn't seems a probable solution either; I have given suspicious report from some of the test Windows PC where symtom says there had been dual click occured and the flag check didn't cameout as it was supposed to be. Hence I'm looking for a more stable solution.