svn changeset:20053/svn branch:6.7
if (col.hasAttribute("align")) {
c.setAlign(col.getStringAttribute("align").charAt(0));
+ } else {
+ c.setAlign(ALIGN_LEFT);
+
}
if (col.hasAttribute("width")) {
final String widthStr = col.getStringAttribute("width");
if (col.hasAttribute("align")) {
c.setAlign(col.getStringAttribute("align").charAt(0));
+ } else {
+ c.setAlign(ALIGN_LEFT);
+
}
if (col.hasAttribute("width")) {
final String width = col.getStringAttribute("width");
if (alignment == null || alignment.equals(ALIGN_LEFT)) {
columnAlignments.remove(propertyId);
- return;
+ } else {
+ columnAlignments.put(propertyId, alignment);
}
- columnAlignments.put(propertyId, alignment);
-
// Assures the visual refresh
refreshRenderedCells();
}