Urgent! Windows DataGrid ColumnHeaders with Multiple Lines...

Hi all .NET Gurus there,

I am using Windows DataGrid on one of my forms. I want to have ColumnHeader for one column to be MultiLine. I tried to insert an 'Enter' [vbCrLf] char in between ColumnHeader text. It works correctly but the ColumnHeader Height does not get adjusted to new text at all. So it only displays first line ok & other text goes down; only a tiny part of it appearing. I am really feeling like pulling my hair out on this & dont know how to get around. Can anybody come up with a solution pleeeeeze? Thanks!

[Pl. Note: I am using WinForms DataGrid, Not ASP.Net DataGrid.]


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!