Xg8iObhZNbÑCxgj
--------------------------------------------------------------------
grid.onCellClicked = function(event, ecol, erow){ 
  if(mode == "sumr"){
    calcRowSum(ecol, erow);    //svvZ
  }else if(mode == "sumc"){      
    calcColSum(ecol, erow);     //񍇌vvZ
  }
}
-------------------------------------------------------------------