0

JQgrid has a tooltip built in that when the user hovers over a cell, the contents of that cell appear in the tool tip. we are using this for cells that contain large amounts of text.

The only problem is, is that the tool tip only appears for about 5 seconds, and then disappears. Is there a way to make this tool tip appear until the mouse is moved, or at least a longer length of time?

thanks!

twaldron
  • 2,722
  • 7
  • 40
  • 55

1 Answers1

1

Probably there are a simple way using CSS or JavaScript technique, but I din't know this. What is definitively possible is to use some Tooltip plugin to implement the behavior which you want. In the answer for example I included the demo which use jQuery UI Tooltip which will be released in th next version (1.9) of jQuery UI. You can start to use jQuery UI Tooltips already now.

You have many settings to customize Tooltips. It can look not so erotically like on the demo. In the demo I wanted to show only, that new Tooltips can display HTML code and not only the text. Only because of that I made tolltips on the demo in color and with the "<hr />" element in inside the displayed text.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798
  • Great thank you, I will look at that and see if I can get it to work for me. – twaldron Mar 16 '11 at 15:54
  • @twaldron: You are welcome! Just get the demo and try to modify for your data. It you will have additional questions you can ask me. – Oleg Mar 16 '11 at 16:07