Check documentation for the latest version of dhtmlxSuite onItemDblClick DHTMLX Docs

onItemDblClick

fires when an item is double clicked

boolean onItemDblClick(string|number id,Event object ev,object html){ ... };

Parameters

idstring|numberid of the item
evEvent objectnative event object
htmlobjecttarget HTML element

Returns

booleantrue - to trigger the default action, false - to block it

Example

myList.attachEvent("onItemDblClick", function (id, ev, html){
    // your code here
    return true;
});

Details

The event is blockable. Returning false from event handler will prevent the default action (double-clicking an item).

Back to top