Display all rows in a adf tree table onload
Hi
Hope you are doing fine
I have a hierarchial data structure which I've dragged and dropped as an ADF Tree.
By default, when the page displays, I wanted all the rows to be expanded, as i was using this jspx as the body of an Email in HumanTasks.
So, this should be a static list with all the tree rows expanded.
Here is the code that got formed when I dragged and dropped, and did all possible customizations, but still not showing up all the rows expanded
<af:tree value="#{bindings.Project1.treeModel}" var="node"
selectionListener="#{bindings.Project1.treeModel.makeCurrent}"
rowSelection="single" id="t2" initiallyExpanded="true"
expandAllEnabled="true" contentDelivery="immediate"
immediate="true"
inlineStyle="border-width:medium; outline-width:2px;">
<f:facet name="nodeStamp">
<af:outputText value="#{node}" id="ot1"/>
</f:facet>
</af:tree>
Is there a straight way of doing this, without using managed bean, just using prop inspector?
If not ,would you please tell me a solution using managed bean.
Please help me in this regard.
Regards
RaviKiran