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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
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.