Issue with onItemClick event for tree view control

I have rendered the tree view control also I have attached the onItemClick event. But I am facing some strange behaviour/issue. the event is not getting triggered if I click on the checkbox but it gets triggered if I click on the some area around the checkbox. Kindly suggest what could be the issue ?

Do you mean onItemClick event? There is a separate onItemCheck event that occurs for clicking on checkbox in the tree.

Thanks for highlighting. I was bymistakely using onItemClick event instead of onItemCheck event.

Can I set the id ppty of checkbox node in tree as GUID ?

Do you mean the ID attribute in the HTML or ID value that will be received by event handler ?

I mean ID attribute in the HTML

Can we associated a different event on selection of parent node in the tree??

Can we associated a different event on selection of parent node in the tree??

Nope, but from inside of event handler you can get info is this item has child nodes or not and run different logic based on it.

I mean ID attribute in the HTML

You can redefine the related part of templates

http://webix.com/snippet/1efca41b

Thanks for the response.