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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Caption for DataColumn

Thread ID:





232 May 6,2002 05:13 PM UTC May 6,2002 05:48 PM UTC WinForms 1
Tags: FAQ
Asked On May 6, 2002 05:13 PM UTC

Hi! Why DataGrid dosen't use captions for my columns- it uses ColumnNames anytimes:( Thank you.

Clay Burch [Syncfusion]
Replied On May 6, 2002 05:48 PM UTC

I don't know why the Caption property on the DataTable.Columns are not working. But if you add a DataGridColumnStyle for each of your columns to a TableStyle used by your grid, you can set the header text in the DataGridColumnStyle.HeaderText property. This appears to work for me. Regards, Clay Burch


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