Hi Pavan,
Thank you for your interest in Syncfusion products.
Formatting of a particular row or a cell in GridGroupingControl can be handled through “QueryCellStyleInfo” event with the following code.
this.gridGroupingControl1.QueryCellStyleInfo += new GridTableCellStyleInfoEventHandler(gridGroupingControl1_QueryCellStyleInfo);
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
//format a full row
if (e.TableCellIdentity.RowIndex == 5)
{
e.Style.BackColor = Color.HotPink;//set back color
e.Style.CellTipText = "4 th row formatted";//set tooltip
}
//format a cell (12,3)
if (e.TableCellIdentity.RowIndex == 12 && e.TableCellIdentity.ColIndex == 3)
{
e.Style.CellType = "ComboBox";//set cell type
e.Style.ChoiceList = str; // set source list (collection)
e.Style.TextColor = Color.Red; // set forecolor
e.Style.CellTipText = "RowIndex : " + e.TableCellIdentity.RowIndex + ", ColIndex : " + e.TableCellIdentity.ColIndex; // set tool tip
}
}
Please refer the following sample which illustrates the above.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GGC_Formatting1657301659.zipPlease let me know if you have any other concerns.
Regards,
Christo.