Double click event fires single click event

I have a dataview and i need to implement single click event and double click event. Unfortuantelly the double click event fires the single click event. I tried to put my code inside window.setTimeout() which will be cleared in the double click event but it doesn’t work again. The single click event fires with the delay of setTimeout function.

Any help?

Unfortunately it is not available to block the onItemClick event occurring in case of the double click.