headerCell.setMaxWords(this.maxWords);
headerCell.setGroup(this.group);
headerCell.setSortProperty(this.sortProperty);
headerCell.setTotaled(this.totaled);
Comparator headerComparator = (comparator != null) ? comparator : new DefaultComparator(Collator
.getInstance(tableTag.getProperties().getLocale()));
headerCell.setComparator(headerComparator);
headerCell.setDefaultSortOrder(this.defaultorder);
headerCell.setSortName(this.sortName);