something like this:
<t:dataTable id="dT" width="100%"
var="sites"
value="#{someBeanValue}"
varDetailToggler="detailToggler" >
<h:column>
<h:commandButton value="0"
rendered="#{!detailToggler.currentDetailExpanded}"
action="#{detailToggler.toggleDetail}" >
</h:commandButton>
<h:commandButton value="1"
rendered="#{detailToggler.currentDetailExpanded}"
action="#{detailToggler.toggleDetail}" >
</h:commandButton>
</h:column>
<f:facet name="detailStamp">
<t:dataTable id="dT1" width="100%"
var="formulars" value="#{someBeanValue}">
<h:column>
</h:column>
</t:dataTable>
</f:facet>
</t:dataTable>
i would like the first row to be expanded (toogled)?!
Jeff Bischoff schrieb:
What is detailStamp?
stefan oberbichler wrote:
Stefan Oberbichler schrieb:
hi,
i am using a datatable with the detailStamp.
is there a possibility to expand the first row on startup?
thx
steve
no idea for this??????????????
thx