We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

AutoWrapping Column Head

Thread ID:

Created:

Updated:

Platform:

Replies:

2957 Feb 24,2003 01:00 AM Dec 1,2003 10:48 AM Windows Forms 3
loading
Tags: FAQ
Ganesh Srinivasan
Asked On February 24, 2003 01:00 AM

How can I auto wrap the column head in a datagrid on resizing the width during runtime?

Carl
Replied On June 15, 2003 05:56 AM

vbcrlf! Now if I could just find a way to increase the height of the headers/reduce the size of the font! Regards, Carl

Administrator [Syncfusion]
Replied On July 15, 2003 07:26 AM

Have u had any luck on increasing the header height. I am wrapping my header text with vbCrLf but then I cant see the second line. Im trying a few things though.if i get it ill let u know

Administrator [Syncfusion]
Replied On December 1, 2003 10:48 AM

Don't know if you've found this answer yet. Set the headerfont for the datagrid to something large, say 16, then create a tablestyle for the datagrid and keep the headerfont for the tablestyle the default size. The font will be the value from the tablestyle, but the column header uses the size needed to fit the font for the datagrid. Not very obvious is it? > > Have u had any luck on increasing the header height. I am wrapping my header text with vbCrLf but then I cant see the second line. Im trying a few things though.if i get it ill let u know

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;