OverviewSince 3.0 The ace:rowExpansion renders a set of rows located underneath the row where ace:expansionToggler was activated. These subrows are defined by a tree relationship modeled in the List bound to the 'value' attribute of the parent DataTable. The List must be of the type List<java.util.Map.Entry<Object, List>> where the entries are mappings from row data objects to lists of sub-entries. If your application is using Java 6, java.util.AbstractMap.SimpleEntry<K,V> is available as a implementation of Map.Entry.
Getting Started<ace:dataTable var="compilations" value="#{viewBean.objectList}"> <ace:column headerText="UPC"> <h:outputText value="#{single.upc}"/> </ace:column> <ace:column headerText="Artist"> <h:outputText value="#{single.artist}" /> </ace:column> <ace:column headerText="Album Name"> <h:outputText value="#{single.album}"/> </ace:column> <ace:column headerText="Track Name"> <h:outputText value="#{single.name}"/> </ace:column> <ace:column headerText="Sales"> <h:outputText value="#{single.sales}"/> </ace:column> <ace:column headerText="Show Compilation Tracks"> <ace:expansionToggler /> </ace:column> <ace:rowExpansion /> </ace:dataTable> AttributesThis component has no attributes.
Known IssuesOther ResourcesRelated Components |
RowExpansion
© Copyright 2021 ICEsoft Technologies Canada Corp.