Hello! I tried to create my own view with mouse event handling.
webix.protoUI({
name: "mapStatusLine",
defaults: {
template: "…",
on: {
'onItemClick': function () { }
}
},
// custom stuff
}, webix.ui.template, webix.MouseEvents);
And the ‘onItemClick’ fires never. Why so? What am I doing wrong?