Author Topic: Show a div when hang on cell  (Read 2542 times)

noctrona

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 82
    • View Profile
Show a div when hang on cell
« on: December 17, 2014, 01:34:03 pm »
Hi team,

I have a question.
When I move my mouse on a cell, is that possible to show a small div(like our validation message) ?
I know we have a new attr to show comments. But I use a old version, and for the moment, I can't update it. So I hope there is an other way to achieve this.


Thank you!



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Show a div when hang on cell
« Reply #1 on: December 17, 2014, 09:29:12 pm »
If you have noticed, comments tooltip is created by pqTooltip

create: function (evt, ui) {
        $(this).pqTooltip();
}

in this demo http://paramquery.com/pro/demos/comments

pqTooltip is just a wrapper over jQueryui tooltip, you can customize the looks of tooltip similar to the example shown here

http://jqueryui.com/tooltip/#custom-style