Hi Mitul,
To customize the extra section appearance in a grid, you need to handle the QueryCellStyleInfo event of the grid and set the e.Style.CellType to new display type. Please try
this and let me know if this.
Best regards,
Haneef
[c#]
private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if ( e.TableCellIdentity.DisplayElement is BelowColumnExtraSection)
{
switch(e.TableCellIdentity.ColIndex )
{
case 0:
e.Style.CellType = "Header";
break;
case 1:
e.Style.CellType = "PushButton";
e.Style.Description = "ExtraButton";
break;
case 2:
e.Style.CellType = "ComboBox";
e.Style.DataSource = GetParentTable();
e.Style.ValueMember = "PhaseNumber";
e.Style.DisplayMember = e.Style.ValueMember;
break;
default:
e.Style.CellType = "TextBox";
break;
}
e.Style.BackColor = Color.Red;
}
}