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()
{
InitializeComponent();
dataGrid.CellRenderers.Remove("CaptionSummary");
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;
}
} |
Regards,
Ashok