onListIconClick

fires on clicking any icon in the list item

boolean onListIconClick(string iconId,string itemId,Event ev,HTMLElement node,object list){ ... };

Parameters

iconIdstringthe id of the icon
itemIdstringthe id of the clicked item
evEventa native event object
nodeHTMLElementthe target HTML element
listobjectthe list object where click has happened

Returns

booleanif the event handler returns false, the onListItemClick handler will not be called

Example

$$("myBoard").attachEvent("onListIconClick", function(iconId, itemId,ev,node,list){
    // your code
    return false;
});

Related samples

Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui widget library and page of javascript library list product.