doOnCellChanged problem

treeActivities.setOnCellChanged(doOnCellChanged);



function doOnCellChanged(rowId, cellInd, newValue)

                             {

                            

                             alert(rowId+’ ‘+ cellInd+’ '+ newValue);

                             return true;

                             }





function doOnCellChanged alerts all the items in the grid, even though I haven’t touched the grid

The onCellChanged event trigered when new row created, so if you attached event before data loading - it will be called for each loaded cell.
You can attach event code only after data loading

mygrid.loadXML(url,function(){
treeActivities.attachEvent(“onCellChanged”,doOnCellChanged);
});