You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we add this enhancement where if tooltip is not available then render node title as a tooltip.
Scenario is like, I am using text-overflow: ellipsis css property for span.fancytree-title and on hover of that complete title should be shown in tooltip.
However currently I need to add tooltip as a separate key in node object as a property.
The text was updated successfully, but these errors were encountered:
You don't have to send it as separate key. You could generate it on the fly in the render callback instead, or add it in the postProcess callback.
This could be automated by a new tree option (e.g. .tooltip: "auto" or similar).
Note: If you are using a tooltip plugin (like jQuery UI tooltip), it might have an option to configure a callback, that you can use the node title on the fly. This would prevent storing duplicate data)
Can we add this enhancement where if tooltip is not available then render node title as a tooltip.
Scenario is like, I am using
text-overflow: ellipsis
css property forspan.fancytree-title
and on hover of that complete title should be shown in tooltip.However currently I need to add tooltip as a separate key in node object as a property.
The text was updated successfully, but these errors were encountered: