Hello,
We are using the DevExtreme Treemap in our application and have implemented a custom tooltip for the tiles using the following code.
JavaScripttooltip: {
enabled: true,
customizeTooltip: function (arg) {
data = arg.node.data,
result = null;
result = "<span class='city'>" + data.tooltip + "</span>";
return {
text: result
};
}
}
We would like to set a maximum width for the tooltip. How can we achieve this?
Could you please provide a sample implementation?
Thanks.