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

how to formating the summary cells in GGC ?

Thread ID:





84446 Jun 30,2009 08:52 PM UTC Jul 3,2009 12:59 PM UTC WinForms 1
Tags: GridControl
David Cui
Asked On June 30, 2009 08:52 PM UTC


how to formating the summary cells (ie. total at the group and top level) in GGC ? esp. try to align the text to right. i tried so many ways, seems not working.


Rajadurai C [Syncfusion]
Replied On July 3, 2009 12:59 PM UTC

Hi David,

Thanks for your interest in Syncfusion Products.

The summary text in summary row can be right-aligned by handling RightToLeft property checking for the summaryfieldcell in QueryCellStyleInfo event. Here is the code for your reference.

if (e.TableCellIdentity.TableCellType == GridTableCellType.SummaryFieldCell)
e.Style.RightToLeft = RightToLeft.Yes;

Please refer to the following sample in which this has been implemented.



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