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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wrap text in column header

Thread ID:

Created:

Updated:

Platform:

Replies:

149913 Dec 13,2019 07:58 PM UTC Dec 16,2019 10:39 AM UTC WinForms 1
loading
Tags: SfDataGrid
Mariusz Juszkiewicz
Asked On December 13, 2019 07:58 PM UTC

Does anyone know how to wrap text in the column header?

Gowtham Gopalsamy [Syncfusion]
Replied On December 16, 2019 10:39 AM UTC

Hi Mariusz,    
    
Thanks for using Syncfusion controls.   
   
You can achieve your requirement to wrap the column header text by using the property AllowHeaderTextWrapping as true.   
   
Please find the below code snippet.  
   
this.sfDataGrid.Columns["OrderID"].AllowHeaderTextWrapping = true;   
   
   
Please find the below sample link.   
    
   
Please let us know, if you require further assistance on this.   
    
Regards,   
Gowtham   


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon