anchor.diff:  		}
   		function onGridLoadSetAutoGenerated(grid_obj,rowCount){
   			if("${isLabelGenerationOn}"=="true" || "${isBarGenerationOn}"=="true"){
  -				for(var cnt=1;cnt<=grid_obj.getRowsNum();cnt++){
  -					grid_obj.cellById(cnt,0).setValue("Auto Generated");
  -					grid_obj.cellById(cnt,1).setValue("Auto Generated");
  +				for(var cnt=1;cnt<grid_obj.getRowsNum();cnt++){
  +					grid_obj.cellByIndex(cnt,0).setValue("Auto Generated");
  +					grid_obj.cellByIndex(cnt,1).setValue("Auto Generated");
   				}
   			}
   		}
   		function onGridLoad(grid_obj,rowCount){
  -			for(var cnt=1;cnt<=grid_obj.getRowsNum();cnt++){
  -				grid_obj.cellById(cnt,6).setValue("<a href='#' onClick='openMapPopUp(\""+cnt+"\")' >Map</a>");
  +			for(var cnt=1;cnt<grid_obj.getRowsNum();cnt++){
  +				grid_obj.cellByIndex(cnt,6).setValue("<a href='#' onClick='openMapPopUp(\""+cnt+"\")' >Map</a>");
   			}
   		}
   		function openMapPopUp(rowNum){
   			aliquotGrid.selectRow(rowNum);
  -			var containerName = aliquotGrid.cellById(rowNum,3).getValue();
  -			var pos1 = aliquotGrid.cellById(rowNum,4).getValue();
  -			var pos2 = aliquotGrid.cellById(rowNum,5).getValue();
  +			var containerName = aliquotGrid.cellByIndex(rowNum,3).getValue();
  +			var pos1 = aliquotGrid.cellByIndex(rowNum,4).getValue();
  +			var pos2 = aliquotGrid.cellByIndex(rowNum,5).getValue();
   				String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g, '');};
   			if(containerName.trim()!=""){
   				loadDHTMLXWindowForTransferEvent(containerName,pos1,pos2,rowNum);
  
positive.code: 			dhxWins.window("containerPositionPopUp").setText("");    //it's the title for the popup
  		}
  		function setNewStoragePositionForAliquot(rowNum,containerName,pos1,pos2){
  			aliquotGrid.cellById(rowNum,3).setValue(containerName);
  			aliquotGrid.cellById(rowNum,4).setValue(pos1);
  			aliquotGrid.cellById(rowNum,5).setValue(pos2);
  		}
  		
  		function submitAliquot(){
  			var tabDataJSON = {};
  			var aliquotsXml = aliquotGrid.serialize();
  			tabDataJSON["aliquotsXml"] = aliquotsXml;
  			var aliquotDetailDto = {};
  			tabDataJSON["disposeParentSpecimen"] = document.getElementById("disposeParentSpecimen").checked;
  			tabDataJSON["printLabel"]=  document.getElementById("printCheckbox").checked;
  
negative.code: 		function init_grid(){		
  			aliquotGrid = new dhtmlXGridObject('gridbox');
  			aliquotGrid.setImagePath("dhtmlx_suite/imgs/");
  			aliquotGrid.setHeader("Label,Barcode,Quantity,Storage Container <a style='margin-left:62px;' href='#' onclick='applyFirstToALL()'>Apply first to all</a>,Position 1,Position 2,Container Map,");
  			aliquotGrid.setEditable("true");
  			aliquotGrid.enableAutoHeigth(false);
  			aliquotGrid.enableRowsHover(true,'grid_hover')
  			aliquotGrid.setInitWidths("100,100,70,250,70,70,100");
  			aliquotGrid.setColTypes("ed,ed,ed,ed,ed,ed,ro,ro");
  			aliquotGrid.setColumnHidden(7,true);
  			if("${isLabelGenerationOn}"=="true" || "${isBarGenerationOn}"=="true"){
  				aliquotGrid.setColumnExcellType(0,"ro");
  				aliquotGrid.setColumnExcellType(1,"ro");
  