GroupCaptionSummaryCell TextAlign

I have attempted to right align a summary editable captionrow cell to right-align with no luck. Can''t imagine what I am doing wrong. Please help!
this.gridGroupingControl.Appearance.GroupCaptionSummaryCell.TextAlign = GridTextAlign.Right;
this.gridGroupingControl.Appearance.GroupCaptionCell.TextAlign = GridTextAlign.Right;

2 Replies

AD Administrator Syncfusion Team September 5, 2006 05:32 AM UTC

Hi James,

Use the HorizontalAlignment property to set the Horizontal Alignment of the text in a cell. Try the below code snippet.

this.gridGroupingControl1.Appearance.GroupCaptionSummaryCell.HorizontalAlignment = GridHorizontalAlignment.Right;
this.gridGroupingControl1 .Appearance.GroupCaptionCell.HorizontalAlignment = GridHorizontalAlignment.Right;

Thanks,
Haneef


JA jamesb September 5, 2006 06:19 AM UTC

works! thx

Loader.
Up arrow icon