}
}
@Override
protected void doEncodeChildren(ResponseWriter writer, FacesContext facesContext, UIComponent component) throws IOException {
AbstractDataGrid dataGrid = (AbstractDataGrid) component;
writer.startElement(HtmlConstants.TABLE_ELEMENT, dataGrid);
writer.writeAttribute(HtmlConstants.ID_ATTRIBUTE, dataGrid.getClientId(facesContext), null);
Map<String, Object> attributes = dataGrid.getAttributes();
String classes = concatClasses("rf-dg", attributes.get(HtmlConstants.STYLE_CLASS_ATTR));
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, classes, null);
RenderKitUtils.renderAttribute(facesContext, "style", attributes.get(HtmlConstants.STYLE_ATTRIBUTE));
RenderKitUtils.renderAttribute(facesContext, HtmlConstants.TITLE_ATTRIBUTE,
attributes.get(HtmlConstants.TITLE_ATTRIBUTE));