Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Expanding a row in an af:treeTable other than the default.

TheGooseJan 26 2012 — edited Jan 26 2012
Customer would like to be initially render an af:treeTable with a pre-determined row expanded (other than the default). Is there an attribute of the af:treeTable that does this easily?

In looking at the tag doc, it seems that I could use a combination of:


...activeRowKey="<EL expression returning the Object whose row is to be active>" displayRow="selected"/>

Does this work? is the active row automatically selected, triggering the row to be expanded? Does "display" of a row mean expanding it?

Or could I just:

... displayRowKey="<EL expression returning the Object whose row is to be expanded>"/>


Or do I have to use both activeRowKey and displayRowKey?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2012
Added on Jan 26 2012
1 comment
97 views