Tool Tip for text in iReport

2019-02-23 17:40发布

问题:

What functionality in iReport allows for tool tip text?

I have a field name description that contains very large text. Instead of displaying large text I want to show two or three lines and rest of text as a tool tip. How is this possible?

回答1:

You can use hyperlinkTooltipExpression expression for textField element, for example.

You can find sample here.

In iReport you can call dialog for setting tooltip with help of context menu Hyperlink.