Author Topic: Display tooltip on grid header.  (Read 2726 times)

kiwon34

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Display tooltip on grid header.
« on: July 22, 2019, 05:26:54 pm »
https://paramquery.com/pro/demos/tooltips

As you can see in the demo, tooltips are shown only on body data.
Is there a way to show tooltips when mouse is over the header area?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Display tooltip on grid header.
« Reply #1 on: July 22, 2019, 09:50:44 pm »
Tooltips in header cells is discussed here:

https://paramquery.com/forum/index.php?topic=799

kiwon34

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: Display tooltip on grid header.
« Reply #2 on: July 23, 2019, 06:35:37 am »
Thank you.

I see that this answer is from old version, but is it the same in version 6?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Display tooltip on grid header.
« Reply #3 on: July 25, 2019, 08:42:25 am »
yes

Code: [Select]
refreshHeader: function(){               
      var $cell = this.getCellHeader( {colIndx: 0});
        $cell.attr("title", "my tooltip").tooltip();
}