Tooltip for Icons in Combo

Hello all,

we have extended the default combo view to display icons there.

Is it possible to add a tooltip to this icon that has the same style as the tooltips on buttons?

image

Here is a snippet of our combo view.

https://snippet.webix.com/tkz3e12n

Thanks and greetings
Gorden

Hello @gokap001,

In order to add a tooltip to an icon, you can use the tooltip for the HTML elements. Namely, add the desired fragment to the span:

webix_tooltip=\"Search\"

After, on $init of your custom component use $ready function to integrate webix.TooltipControl.addTooltip($$("yourId").$view) in your component.
Please, check out the snippet with example: Code Snippet

1 Like