Hi Sumudu,
Thanks for using Syncfusion product,
In order to highlight the expanded records which are all having the nested table by handling the QueryCellStyleInfo event. Please refer the below code snippet and attached sample.
Code snippet:
void groupingGrid1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity!=null)
{
Record r = e.TableCellIdentity.DisplayElement.GetRecord();
if (r != null && r.IsExpanded && r.HasNestedTables && (e.Style.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell || e.Style.TableCellIdentity.TableCellType == GridTableCellType. AlternateRecordFieldCell))
{
e.Style.BackColor = Color.LightBlue;
e.Style.TextColor = Color.White;
}
}
}
Regards,
Mohanraj G.