grid


have a grid which have 3 column and infinite  rows



so i want when the row is created the  IInd Col value is add in the first and show in the IIIrd



and in the IInd row Ist Col have the same value as Ist Row IIIrd col and  so on in the next row also





like this

Ist Col ,        IInd Col,        IIIrd Col

1/1/2000      2              1/1/2000

1/1/2000     3                1/1/2000

1/1/2000     0                1/1/2000


when on row created i want to show this as

1/1/2000    2              1/3/2000

1/3/2000    3              1/6/2000

1/6/2000   0             1/6/200




 





thank you



 
Answers

so i want when the row is created the IInd Col value is add in the first and show in the IIIrd
mygrid.attachEvent(“onRowCreated”,function(id){
mygrid.cells(id,2).setValue(mygrid.cells(id,0).getValue()+mygrid.cells(id,1).getValue());
});