SAP ABAP alv Grid OO Tooltip in a single cell

感情迁移 提交于 2019-12-13 23:00:21

问题


It is possible to put a tooltip on a single cell of my alv, i know that it is possible in a column by a field catalog, but in one cell it is possible?

Thanks.

Im my example i have an alv with icon like that:

I use a cl_gui_alv_grid not an salv.

And i want that when i mouse over the icon i have information about this item in tha tooltip.


回答1:


The information on how to display a symbol with a tooltip is easily available if you google for "site:help.sap.com tooltip icon". Since you seem to be unable to find it, here is the actual link. Make the target field large enough (132 characters is a common size), then use the function ICON_CREATE.

If you don't want an icon to appear, you can use ICON_SPACE. And since the tooltip is contained in the value of each cell, of course it is possible to have different tooltips for different cells.



来源:https://stackoverflow.com/questions/28010425/sap-abap-alv-grid-oo-tooltip-in-a-single-cell

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!