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

Center heading over column in datagrid?

Thread ID:




1211 Oct 3,2002 10:24 PM UTC WinForms 0
Tags: FAQ
Bill Dimes
Asked On October 3, 2002 10:24 PM UTC

I'm sure I've overlooked this... but, what's the trick to centering column header text over a column in a datagrid. I add my table style, then add my columns to it and add it to the grid. The columns have an alignment property that controls the data area of the grid, but the header text doesn't center. Ideas? Thanks in advance.


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