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

align text of columns in ggc

Thread ID:

Created:

Updated:

Platform:

Replies:

68964 Oct 7,2007 04:11 PM Oct 8,2007 01:12 PM Windows Forms 1
loading
Tags: GridControl
prabhjeet
Asked On October 7, 2007 04:11 PM

i am using syncfusion ggc. How to align the text of the columns Names and column values in the right,left or center.

I will be v helpfull if anyone could help me in this.

haneefm [Syncfusion]
Replied On October 8, 2007 01:12 PM

Hi Prabhjeet,

Use the HorizontalAlignment property of the GridStyleInfo object to specify the horizontal cell text alignment in a grid. Here is a code snippet.

this.gridGroupingControl1.TableDescriptor.Columns["ColumName"].Appearance.AnyCell.HorizontalAlignment = GridHorizontalAlignment.Right;

Best regards,
Haneef

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.

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.

;