tooltip
mobile
This example shows tooltips for four scenarios.
-
Set
tooltip.isShowOverflowTextTooltiptotrueto enable overflow text prompts. When hovering over the text that is too long to be displayed, the text will be displayed. In this example, the text in the cells of theProduct Namecolumn is omitted, and you can hover over the cell to see the prompt information. -
The description information of the table header is displayed by configuring
description. -
This example also shows how to actively display the tooltip through the interface. By listening to the
mouseenter_cellevent, when the mouse moves into the cell of the first column of order numbers, the interfaceshowTooltipis called to display the prompt information. -
Customize the prompt information of the icon, configure
headerIconin theorderIdcolumn toorder, and configuretooltipin the configuration of the iconorderto display the prompt information.
The prompt information supports hovering to select and copy. When there is too much content, the maximum width and height can be configured for scrolling interaction.