Hi Mike,
Thank you for using Syncfusion products.
You need to handle the QueryCellStyleInfo event to achieve the desired behavior.
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.TableCellType == GridTableCellType.SummaryEmptyCell && e.TableCellIdentity.ColIndex==5)
{
double d;
double d1;
string s1 = GridEngine.GetSummaryText(this.gridGroupingControl1.Table.TopLevelGroup, sum1);
string s2 = GridEngine.GetSummaryText(this.gridGroupingControl1.Table.TopLevelGroup, sum2);
double.TryParse(s1, out d);
double.TryParse(s2, out d1);
e.Style.Text = Convert.ToString((d /d1));
}
}
Please refer to the attached sample.
Regards,
Jisha
GGCSummaryAndExpression_c56cc9e8.zip