0 Replies Latest reply on Aug 2, 2011 11:23 AM by Roger Gilliar

    How to dynamically create table colums before the table is displayed

    Roger Gilliar Newbie

      Hi all,

       

      I would like to know how I can dynamically create the columns before the extendedDataTable is displayed.

       

      Comming from a PHP background my first guess would be to do something like:

       

      <c:forEach items="#{controller.getColumnDescription}" var="cap">

          // create columns  

      /c:forEach>

       

      Is this the right way to do this ? Is there a better way to do this ?

       

      Regards

        Roger