onAvatarClick

fires on clicking an avatar in the item

boolean onAvatarClick(string itemId,Event ev,HTMLElement node,object list);
itemIdstringthe id of the clicked item
evEventa native event object
nodeHTMLElementthe target HTML element
listobjectthe list object where click has happened
booleanif the event handler returns false, onListItemClick will not be called

Example

$$("myBoard").attachEvent("onAvatarClick", function(itemId,ev,node,list){
    // your code
    var personId = this.getItem(id).personId;
});

Related samples

Back to top
If you have not checked yet, be sure to visit site of our main product Webix web control library and page of kanban board product.