Wednesday, March 16, 2011

Add Column(s) to tree table

Facet 'nodestamp' usually displays the 'node' text. (which contains concatenation of all columns in a row)
Facet 'pathstamp' is used to track the current location and navigation (Don't edit this facet)
To add columns place the following code under af:treetable... (please check your tree table binding whether it has required columns which you want to show in the UI)
 <af:column>
       <f:facet name="header">
              <af:outputText value="Department No"/>
        </f:facet>
       <af:outputText value="#{node.Deptno}"/>
</af:column>

2 comments:

  1. To add columns place the following code under af:treetable..

    ReplyDelete
  2. Can we add columns(other than row header) so that they appear before nodestamp?

    ReplyDelete