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 style the GridSummaryColumn? font? alignment?

Thread ID:





132022 Aug 8,2017 06:29 PM UTC Aug 9,2017 11:43 AM UTC Xamarin.Forms 1
Tags: SfDataGrid
Roygar Briceno
Asked On August 8, 2017 06:29 PM UTC


How do I set the font? font style (like bold or normal) and text alignment to the GridSummaryColumn? it's possible?? by default the text is bold and left aligned which is a bit odd with numeric columns that usually are right aligned.


Ashok N [Syncfusion]
Replied On August 9, 2017 11:43 AM UTC

Hi Roygar,
Thanks for contacting Syncfusion support. 
We regret to inform you that we cannot able to customize the GridSummaryColumn in our SfDataGrid. We can able to customize the CaptionSummaryCell by customizing GridCaptionSummaryCellRenderer class. Please refer the below code example  
public partial class SfDataGridPage : ContentPage 
    public SfDataGridPage() 
        dataGrid.CellRenderers.Add("CaptionSummary", new GridCaptionSummaryCellRendererExt()); 
public class GridCaptionSummaryCellRendererExt : GridCaptionSummaryCellRenderer 
    public GridCaptionSummaryCellRendererExt() 
    public override void OnInitializeDisplayView(DataColumnBase dataColumn, SfLabel view) 
        base.OnInitializeDisplayView(dataColumn, view); 
        view.TextColor = Color.Red; 
        view.HorizontalTextAlignment = TextAlignment.Start; 


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