Author Topic: How to wrap the column heading  (Read 3626 times)

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
How to wrap the column heading
« on: April 07, 2014, 10:56:00 pm »
How can I wrap the text of a certain column?
Eg: a long text may have 2 rows.

I tried adding a class to the column and also defining in the colModel:

Code: [Select]
{ title: '<span style="word-wrap:break-word;">'+'Saldo a 01-01-2014+'/span>' , etc....

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to wrap the column heading
« Reply #1 on: April 07, 2014, 11:00:25 pm »
Please use the options wrap ( for grid body)  and hwrap ( for grid header )