I want to listen both click and double click events for advanced data grid in flex. I have given double click enabled true and written the function in itemdoubleclick but only click is working but not itemdoubleclick.Can any one please help me.
Thanks
I want to listen both click and double click events for advanced data grid
Share
You probably did the right thing but the datagrid do not handle very well the click and double click, you can use a workaround to do that:
first the datagrid properties:
then the click handler start a timer and if the timer successfully terminate the single click event is dispatched, otherwise if you double click the timer is stopped and you handle the double click event…
An example is better than anything else…
Hope this helps…