* @param facetName
* @throws IOException
*/
private void encodeHeaderRow(ResponseWriter writer, FacesContext context, UIComponent component,String facetName) throws IOException {
UIDataTable dataTable = (UIDataTable) component;
Iterator<UIComponent> columns = dataTable.columns();//columnFacets(dataTable,facetName);
int colCount = getColumnsCount(dataTable);
String headerClass = (String) component.getAttributes().get(
facetName+"Class");
if (isColumnFacetPresent(dataTable, facetName)) {
writer.startElement(HTML.TR_ELEMENT, dataTable);