catch double click on iPad
catch double click on iPad
I used datatable with catching double click event on rows. I used single click to select a cell and then click shift key to activate cell edit. Both functionalities work fine on desktop but on ipad/iphone and I think on mobil neither of them work. Clicking on cell works but the cell activating with a thick border but user cannot click on shift, because no keyboard. Double click doesn't work, nothing happen. Does anybody idea how to do on mobile these functions?
This discussion has been closed.
Answers
Using both click and double click on the same element is really difficult - from Quirks Mode:
Perhaps you could have the click event detect if the cell is already selected or not? If it is, then activate the editing, otherwise select it. The effect would be the same as double click to edit.
Allan