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

TextAlignment for Summary Rows

Thread ID:





17251 Aug 4,2004 01:35 PM UTC Aug 5,2004 06:10 AM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On August 4, 2004 01:35 PM UTC

I have a summary row displayed as the caption bar in a GridGroupingControl. I''d like the summary columns to be right-aligned so I tried: grid.Engine.Appearance.GroupCaptionSummaryCell.TextColor = Color.Green; grid.Engine.Appearance.GroupCaptionSummaryCell.TextAlign = GridTextAlign.Right; My text is displayed in the correct colour but the text remains left-aligned. Some of the summary columns are displayed using a custom cell renderer and I''ve tried setting the text alignment there too but to no avail. My grid is bound to a ADO.Net DataTable. Please could you tell me how to fix this. Thanks, Ben.

Administrator [Syncfusion]
Replied On August 4, 2004 02:02 PM UTC

TextAlign is for aligning where a text is placed next to a button (to the left or right). Try setting the HorizontalTextAlignment property instead.

Administrator [Syncfusion]
Replied On August 5, 2004 06:10 AM UTC

Thanks Clay. Should have known that one. Needless to say it now works perfectly. Ben.


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