6 Replies Latest reply on Aug 11, 2009 7:34 AM by Ms Upstream

    expanding a panelMenuGroup in panelMenu (inside dataGrid)

    Ms Upstream Newbie

      Hi,
      I am trying to display a panelMenuGroup inside a dataGrid as an expanded group upcon rendering. However, I am failing. My code looks similar to the below, but I am unable to have my groups appear expanded. Anyone with input on what I am doing wrong (and how to make it right)?

      <rich:dataGrid id="id" rowKeyVar="rowkey" var="group" columns="1" elements="#{object.items.size}" value="#{object.items}">
      
       <rich:panelMenu id="panelMenu"
       iconExpandedGroup="disc" iconCollapsedGroup="disc"
       iconExpandedTopGroup="chevronUp" iconGroupTopPosition="left"
       iconCollapsedTopGroup="chevronDown" >
      
       <rich:panelMenuGroup expanded="true" label="#{group.name}" >
      
       <rich:panelMenuItem action="#{panelMenu.updateCurrent}" >
      
       <s:div> various stuff... and then closing tags
      


      Thanks for any advice!