DataGridView - Wrap Text in Header

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

I am trying to wrap my text in my header.

I have “WrapMode” = true for the column but it is getting cut off (see image)

If you look at my image that I have attached the “On Hand” header is getting chopped off.

 

Thanks,

Shawn

  • You must to post comments
0
0

Hi Shawn,

I am not sure I see the problem here. WrapMode does not automatically resize the column (header).
So you need to make it taller to have the 2nd line appear.

Hope that helps.

Best regards
Frank

  • Shawn Ramirez
    How do I make the column header taller?
  • Frank (ITG)
    Hi Shawn, you can change the size of the header by changing the ColumnHeadersHeight of the DGV. Best regards, Frank
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json