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
close icon

Header Text alignment in GridListControl

I want to left align my header text in a GridListControl I set the property HorizontalAlignment to left, my rows are leftalign but my header text still be centered. Any idea?

2 Replies

AD Administrator Syncfusion Team November 24, 2005 10:47 AM UTC

To left align the header text, try setting: this.gridListControl1.Grid.BaseStylesMap["Column Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Left;


AD Anne-Laure Dalban-Pilon November 24, 2005 11:58 AM UTC

it works fine !! thank you!! >To left align the header text, try setting: > >this.gridListControl1.Grid.BaseStylesMap["Column Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Left; >

Loader.
Live Chat Icon For mobile
Up arrow icon