string concatenation cell

Hi DHX Team,



I need a cell that will fill automatically with concatenation of other two cells. (LIKE CONCATENATE function in MS-EXCEL)



Regards,

Ramesh Alagarsamy

You can use onCellChanged event , as

grid.attachEvent(“onCellChanged”,function(id,ind){

if (ind==0 || ind==1)
mygrid.cells(id,2).setValue(mygrid.cells(id,0).getValue()+mygrid.cells(id,1).getValue());


})