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. Image for the cookie policy date

AutoWrapping Column Head

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

3 Replies

CA Carl 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


AD Administrator Syncfusion Team 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


AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon