fires when an item is double clicked
id | string|number | id of the item |
ev | Event object | native event object |
html | object | target HTML element |
boolean | true - to trigger the default action, false - to block it |
myDataView.attachEvent("onItemDblClick", function (id, ev, html){
// your code here
return true;
});
The event is blockable. Returning false from event handler will prevent the default action (double-clicking an item).
Back to top