how to load selectbox value into next cell

hi in a column im having 2 cells,first cell is combobox(in this i have loaded data) and second cell sould contain the selected value of first cell any idea.
cell2 (if i enter 17 it should shouw narinas).

You may try to use something similar:

mygrid.attachEvent("onEditCell", function(stage,rId,cInd,nValue,oValue){ if (stage==2&&cInd==0){ mygrid.cells(rId,1).setValue(nValue) return true }; return true });