i am facing a difficulty on working with grid

After editing some columns in the grid, the values in other colums is also getting changed when the focus moves from that column.
for eg: in a grid , i am having 3 rows and 3 columns
on editing 1'st column and when the focus is lost from that cell. values in column 2 and 3 gets changed according to the value what we had given in the i'st column. Even if we press enter also value is getting changed.
By using this method
Activate_activexmenthod->ActiveX_activate_method("FPSpreadADO.fpSpread. 2","SetText",retval,cols,ro,addition);

i am setting the value to the I'st column.But the difficulty what i am facing is while setting the value through this.values in other columns is not getting changed.

can anybody help me to sort it out.