//To Change the backcolor of selected cell.
void Model_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
if ((e.RowIndex == i && i!=-1)&& (e.ColIndex == c && c!=-1))
{
e.Style.BackColor = Color.Red;
i = -1;
c = -1;
}
else
{
if(e.RowIndex>0 && e.ColIndex>0)
e.Style.BackColor = Color.White;
}
}
int i = -1, c = -1;
private void openToolStripMenuItem_Click(object sender, EventArgs e)
{
i = this.gridDataBoundGrid1.CurrentCell.RowIndex;
c = this.gridDataBoundGrid1.CurrentCell.ColIndex;
this.gridDataBoundGrid1.Focus();
}