My Kendo grid has long column titles but the column width must remain static so we need a way to make a wrapable column header
Hello,
This now works. Here is an example.
Regards,
Angel Petrov
Progress Telerik
Cleaner way would be to expose MaxDisplayChars property on columns and wrap it with ... e.g. Instead of OrderApprovalDate, it can be displayed as OrderApproval... and full name can be displayed on hover
A work-around is to use the column header template with embedded <br /> tags. For example, MVC: .Columns(c => { c.Bound(_ => _.aField).HeaderTemplate("Line 1<br />Line 2<br />Line 3") }) JS: columns: [ { field: 'aField', title: 'Line1 Line2 Line 3' headerTemplate: 'Line 1<br />Line 2<br />Line 3' } ] However, the MVC and JS versions have a different appearance in the grid. In MVC, the Filter glyphs are on top of the header text. But in JS, they're to the right of the header text (which is preferable).