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

align text of columns in ggc

Thread ID:

Created:

Updated:

Platform:

Replies:

68964 Oct 7,2007 08:11 PM UTC Oct 8,2007 05:12 PM UTC WinForms 1
loading
Tags: GridControl
prabhjeet
Asked On October 7, 2007 08:11 PM UTC

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 05:12 PM UTC

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.

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

;