Author Topic: Tooltips for grid headers  (Read 2060 times)

gwinterhalter

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 15
    • View Profile
Tooltips for grid headers
« on: April 18, 2019, 02:13:29 am »
Hi Support
Can you provide a plinkr example to add too0ltips to grid headers?
Thanks,
Greg Winterhalter

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6210
    • View Profile
Re: Tooltips for grid headers
« Reply #1 on: April 18, 2019, 10:20:13 pm »
Tooltips can be added in header cells in refreshHeader event.

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

code can be checked by adding it in this example:

https://paramquery.com/pro/demos/comments