layers.mergeColumnStylesIntoCellStyles(
childStyles, row == 0, column == 0);
Grid grid = (Grid) gridInstance.getFormat();
GridChildAttributes childAttributes =
gridInstance.getChildAttributes();
childAttributes.resetAttributes();
childAttributes.setRow(row);
childAttributes.setColumn(column);
childAttributes.setStyles(childStyles);
childAttributes.setFormat(grid);
childAttributes.setColumns(columns);
childAttributes.setLayers(layers);
// Write out the per-child preamble, even if the child
// is null because otherwise the grid will be
// misaligned.