2 Replies Latest reply on May 28, 2009 11:18 AM by . .

    Using simpleTogglePanel inside dataTable

    . . Newbie

      Looking at the code below, why simpleTooglePanel is being rendered opened?

      <a4j:form>
       <rich:dataTable id="dataTable" var="item" value="#{dataTableBean.items}">
       <f:facet name="header">
       <rich:columnGroup>
       <rich:column>ColumnName</rich:column>
       </rich:columnGroup>
       </f:facet>
       <rich:column>
       <rich:simpleTogglePanel switchType="client" opened="false" label="#{item.value}">
       #{item.value} - #{item.label}
       </rich:simpleTogglePanel>
       </rich:column>
       </rich:dataTable>
      </a4j:form>