After clicking image it want to redirect to anthoer page as dynamically.

Hi webix Team

we are getting image and image tooltip from json data as usually if we click image it want to be redirect to anthoer page that url also we want to get from json data.

webix.protoUI({
name: “mainLogo”,
setValue:function(value){
this.setHTML(’

’);
}
}, webix.ui.label)

{view:“mainLogo”, id:“LOGO”, tooltip:true, click:true}

if (cntrl == ‘LOGO’ && $$(cntrl)){
$$(cntrl).define(“tooltip”,topBarItems[i].TOOLTIP);
$$(cntrl).define(“click”,topBarItems[i].URL);
}

here we are getting tooltip from json data, as usually we want get click function from json data

Thanks in advance

Regards
Deepak

webix.protoUI({
name: “PCLOGO”,
setValue:function(value){
this.setHTML(’

’);
}
}, webix.ui.label);