Subversion Repositories SmartDukaan

Rev

Rev 23017 | Rev 23568 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23017 Rev 23338
Line 521... Line 521...
521
				cellExpire.setCellValue("False");
521
				cellExpire.setCellValue("False");
522
			}
522
			}
523
			Cell cellCreatedBy = rowValues.createCell(11);
523
			Cell cellCreatedBy = rowValues.createCell(11);
524
			cellCreatedBy.setCellValue(schemeModel.getCreatedBy());
524
			cellCreatedBy.setCellValue(schemeModel.getCreatedBy());
525
			Cell cellItemIds = rowValues.createCell(12);
525
			Cell cellItemIds = rowValues.createCell(12);
526
			cellItemIds.setCellValue(schemeModel.getItemIdsString());
526
			cellItemIds.setCellValue(schemeModel.getItemStringMap().toString());
527
			Cell cellRetailerIds = rowValues.createCell(13);
527
			Cell cellRetailerIds = rowValues.createCell(13);
528
			cellRetailerIds.setCellValue(schemeModel.getRetailerIdsString());
528
			cellRetailerIds.setCellValue(schemeModel.getRetailerIdsString());
529
			int maxHeight = Math.max(schemeModel.getItemIds().size(), schemeModel.getRetailerIds().size());
529
			int maxHeight = Math.max(schemeModel.getItemStringMap().size(), schemeModel.getRetailerIds().size());
530
			if(maxHeight > 1){
530
			if(maxHeight > 1){
531
				rowValues.setHeight((short)(maxHeight * 240));
531
				rowValues.setHeight((short)(maxHeight * 240));
532
			}
532
			}
533
	    }
533
	    }
534
		
534