Hi Harshini,
Thank you for your interest in Syncfusion products.
The Caption text of the GroupedCaption can be changed using the QueryCellStyleInfo, and the grouped value can be retrieved using the Category of the DisplayElement.
Please refer the code below to implement this behavior:
void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.TableCellType == Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellType.GroupCaptionCell)
{
e.Style.Text = e.TableCellIdentity.DisplayElement.ParentGroup.Category.ToString();
}
}
Also refer the attached sample which showcases the behavior:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=CaptionText-2077938227.zipLet me know if you have any queries.
Regards,
Nirmal