Tooltip on ribbon


I have some buttonTwoState(s) in a ribbon and would like to attach a tooltip to them. Anyone has a hint for me on how to succeed?

Thank you

Hi Karl

add once after dhtmlx.js is loaded:

dhtmlXRibbon.prototype.setTooltip = function(id, text){ if (this._items[id]) { this._items[id].base.title = text; } };

and then in code:

myRibbon.setTooltip(id, "Some tooltip");

Great. Works fine.

Thanks a lot.