Expanding a row in an af:treeTable other than the default.
TheGooseJan 26 2012 — edited Jan 26 2012Customer 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?