Author Topic: How do you Bold the Header?  (Read 2135 times)

gmswsd

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 40
    • View Profile
How do you Bold the Header?
« on: April 05, 2020, 09:52:28 pm »
Please provide an example of how to bold the Header

Thanks
Glenn

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How do you Bold the Header?
« Reply #1 on: April 06, 2020, 09:48:20 am »
It can be done with either a css rule or using column.styleHead property in js.

Method 1) with css

Code: [Select]
.pq-grid-col{
font-weight: bold;
}

Method 2) with js

Code: [Select]
columnTemplate: {
styleHead: {
'font-weight': 'bold'
}
}
« Last Edit: April 06, 2020, 09:50:36 am by paramvir »

gmswsd

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: How do you Bold the Header?
« Reply #2 on: April 07, 2020, 12:02:29 am »
Thanks, that worked perfectly