}
public String getFormatAttributeForColumn(int column, String columnName) {
// <%-- format="<%=output.getFormats().get(column,columnName)%>" --%>
// should look like format="{0,number,0,000.00} $" or something --
Format format = this.getFormats().get(column,columnName);
if (format == null) return "";
StringBuilder sb = new StringBuilder("{0,number,");
sb.append(format.getDecimalFormatString());
sb.append("}");
return sb.toString();
}