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"
gridClick="onSelected(event)"/>
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?
Thanks.
Regards,
Santanu. K
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.
North America
Europe, Middle East and Africa
Asia Pacific