Package org.primefaces.component.datatable

Examples of org.primefaces.component.datatable.DataTableRenderer


    public void encode(FacesContext context, Column column) throws IOException {
        ColumnGroup group = findGroup(column);
        DataTable table = (DataTable) group.getParent();
        String type = group.getType();
        DataTableRenderer renderer = (DataTableRenderer) context.getRenderKit().getRenderer("org.primefaces.component", "org.primefaces.component.DataTableRenderer");
       
        if(type.equals("header"))
            renderer.encodeColumnHeader(context, table, column);
        else if(type.equals("footer"))
            renderer.encodeColumnFooter(context, table, column);
    }
View Full Code Here

TOP

Related Classes of org.primefaces.component.datatable.DataTableRenderer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.