How to use a double click event in a row but using select

How to use a double click event in a row but using select

juniorasjunioras Posts: 1Questions: 1Answers: 0

Hi,

I would like to know if using the select plug in, so when the user click the row its get selected/unselected, is possible to use the dblclick event to allow the user select a row and if desired double click the same row to start a edit process (in a form for example).

I tryed some codes found in in the web, but none of them worked.

Thnaks in advance,

Answers

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    Currently no. The problem with using both click and dblclick on the same elements is that the first click in a dblclick is seen as a regular click!

    As PPK at Quirks Mode says:

    Don't register click and dblclick events on the same element: it's impossible to distinguish single-click events from click events that lead to a dblclick event.

    Allan

This discussion has been closed.