2 Replies Latest reply on Mar 21, 2013 12:50 PM by almar

    CollapsibleTable-Icons not toggling correctly. Javascript-Api Problem?

    jbo_master

      Hello @All,

       

      I have a rich:dataTable with a collapsibleSubTable.

      For the toggling-action of the subTable I am using the collapsibleSubTableToggler-Component and the standard javaScript API from Richfaces, with the 2 method expandAllSubTables() and collapseAllSubTables.

       

      The SubTable is toggling correctly but the icons are not changing to the correct state.

      Does anyone have a solution for this? Maybe this could be a bug??

      Thanks in advance and best regards

       

      peter

       

       

       

      <a4j:commandLink id="expandAll"

      ...

           onclick="#{rich:component('Table')}.expandAllSubTables(); ">

      ...

      </a4j:commandLink>

       

      <a4j:commandLink id="collapseAll"

      ...

           onclick="#{rich:component('Table')}.collapseAllSubTables();">

      ...

      </a4j:commandLink>