row.add(cell);
cell = new SimpleCell(SimpleCell.CELL);
cell.setWidth(50f);
cell.add(new Paragraph("C"));
row.add(cell);
table.addElement(row);
for (int i = 0; i < 100; i++) {
row = new SimpleCell(SimpleCell.ROW);
switch (i % 3) {
case 0:
row.setBackgroundColor(Color.red);