how to formating the summary cells in GGC ?



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

1 Reply

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

Regards,
Rajadurai

Loader.
Up arrow icon