Page 1 of 1

Tooltip in subfile

Posted: Thu Feb 07, 2019 1:15 pm
by edalakiran
Hi,

I have a subfile with an icon, when we click on it, it supposes to show as a tooltip with info. can we achieve it?.
i created a custom tooltip with javascript but when i append it to icon as a child it is showing inside the subfile i tried to add z-index but no luck.

Re: Tooltip in subfile

Posted: Thu Feb 07, 2019 4:36 pm
by DanD
I use tooltips within subfile grids all the time - but the tooltip is activated by hovering over the field, not by clicking.

The info can be bound to an RPG variable if it is intended to display more dynamic results (ie. a customer's name or item description).

Re: Tooltip in subfile

Posted: Thu Feb 07, 2019 7:21 pm
by Megan
Hello Teja,

We actually have a blog post on making custom tooltips! You can check out that post here, http://blog.profoundlogic.com/profound- ... m-tooltips. From the example provided in this post, instead of the onmouseover event of the element you would like the tooltip to pop up for, you would add the code to the onclick event of the element. The onclick event of the question mark icon would be where you would put the example code, perhaps with some alterations so that it is more inline with what you are trying to accomplish.


We hope this helps! If you have any questions or concerns regarding this blog post or anything else, please let us know and we'll be happy to help!

Thanks,