LS
Lingaraj S
Syncfusion Team
August 14, 2009 01:51 PM UTC
Hi Varuni,
Thank you for your interest in Syncfusion product.
If you want to change the another column value based on the another column value then please try using CurrentCellAcceptedChanges event in GridDataBoundGrid to achive this functionality.
Refer the ode below:
this.gridDataBoundGrid1.CurrentCellAcceptedChanges += new CancelEventHandler(gridDataBoundGrid1_CurrentCellAcceptedChanges);
void gridDataBoundGrid1_CurrentCellAcceptedChanges(object sender, CancelEventArgs e)
{
int row=this.gridDataBoundGrid1.CurrentCell.RowIndex;
int col=this.gridDataBoundGrid1.CurrentCell.ColIndex;
if (col == 2)
{
this.gridDataBoundGrid1[row, 3].Text = this.gridDataBoundGrid1[row, col].Text + "Ch";
}
}
Please let me know if you have any queries.
Regrads,
Lingaraj S.