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

HeaderText alignment

Thread ID:





78433 Dec 12,2008 12:46 PM UTC Dec 26,2008 07:11 AM UTC ASP.NET Web Forms (Classic) 3
Tags: GridGroupingControl
Saurabh Srivastava
Asked On December 12, 2008 12:46 PM UTC


I would want to align some of my headers vertically. How can this be done?


Rajarajeswari S [Syncfusion]
Replied On December 15, 2008 11:01 AM UTC

Hi Saurabh,

We can align the text vertically through queycellstyleinfo event like below:

void GridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Web.UI.WebControls.Grid.Grouping.GridTableCellStyleInfoEventArgs e)

if (e.TableCellIdentity.TableCellType == Syncfusion.Web.UI.WebControls.Grid.Grouping.GridTableCellType.ColumnHeaderCell)
e.Style.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
e.Handled = true;


This will change the padding of the text. Please try this and let me , if it helps you out.


Saurabh Srivastava
Replied On December 23, 2008 12:26 PM UTC


Sorry for not explaining my problem in detail. What I basically want is to change the text direction. By default, its left to right. I want to make it bottom to top (vertical) .

Rekha P [Syncfusion]
Replied On December 26, 2008 07:11 AM UTC

Hi Saurabh,

We regret to let you know that currently we do not provide support to arrange the column text in vertical mode (top to bottom) in GridGroupingControl. Please let us know if you need further assistance.



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