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.

how to formating the summary cells in GGC ?

Thread ID:

Created:

Updated:

Platform:

Replies:

84446 Jun 30,2009 04:52 PM Jul 3,2009 08:59 AM Windows Forms 1
loading
Tags: GridControl
David Cui
Asked On June 30, 2009 04:52 PM



hi,


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.

david

Rajadurai C [Syncfusion]
Replied On July 3, 2009 08:59 AM

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.
http://files.syncfusion.com/support/samples/Grid.Windows/7.2.0.37/F84446.zip

Regards,
Rajadurai

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.

;