Cell Changed Old Value

Hi,

I have a Syncfusion 4.1 grid in which contains an editable combo box. How do I retrieve the old value of the cell if the contents of the cells change? Please let me know. Thanks in advance.

Regards
Venkatesh

1 Reply

AD Administrator Syncfusion Team November 3, 2006 10:15 AM UTC

Hi Venkatesh,

Try this code snippet to get the oldvalue/newvalue of the current cell. Here is a code snippet.

GridCurrentCell cc = this.grid.CurrentCell;

int oldvalue = this.grid.Model[cc.RowIndex,cc.ColIndex].CellValue
int newValue = cc.Renderer.ControlValue;

Best Regards,
Haneef

Loader.
Up arrow icon