title: expanded row should be collapse on selection of anotherrow
body: <p>I am using primefaces 3.3 and using p:rowExpansion with p:toggler under a datatable.
  I want to collapse the previously expanded row on selection of the other row.</p>
  
  <p>I have one datatable with id reconcileTable.</p>
  
  <p>Do we have any feature in primefaces to handle this situation?</p>
  
  <p>thanks in advance!</p>
  
  <p>Code Snippet::</p>
  
  <pre><code> &lt;p:dataTable id="ux_reconciliation_table" widgetVar="reconcileTable"&gt;                                   
  
      &lt;p:ajax event="rowSelect" listener="#{reconciliationBean.validateReconciliationAction}" update=":reconciliation_form:multiProcessBtn,:message_form_dialog :reconciliation_form:removeLatestSel" oncomplete="checkRowExpansion()"&gt;&lt;/p:ajax&gt;
      &lt;p:ajax event="rowToggle" listener="#{reconciliationBean.onRowToggle}" update="ux_row_nonrequired_content "/&gt;
      &lt;p:ajax event="rowUnselect" update=":reconciliation_form:multiProcessBtn"/&gt;
  
      &lt;f:facet name="header"&gt;
      &lt;p:outputPanel&gt;
      &lt;p:outputLabel value="#{resourceBundle['reconciliation.worksheet_search.label']} " styleClass="ux_reconciliation_datatable_header_text"/&gt;
      &lt;p:inputText id="globalFilter" onkeyup="reconcileTable.filter()" styleClass="ux_reconciliation_input_search_field" /&gt;
      &lt;h:graphicImage value="../images/common/I_Search.png" styleClass="ux_dialog_search"/&gt;
      &lt;/p:outputPanel&gt;
      &lt;/f:facet&gt;
  
      &lt;p:column id="Billing_MiscParty_PartyRole_Party_Organization_NameInfo_longName" sortBy="#{reconciliationDetail.payorName}" filterBy="#{reconciliationDetail.payorName}" filterMatchMode="contains" filterStyleClass="hide" styleClass="ux_ui-datatable-column ux_alpha-column"&gt;  
      &lt;f:facet name="header"&gt;
      &lt;h:outputText value="" styleClass="ux_title_table_header_reconcile"/&gt;&lt;br/&gt;
      &lt;h:outputText value="#{resourceBundle['reconciliation.payor_insured.table.column']}" styleClass="ux_title_table_header_reconcile"/&gt;&lt;br/&gt;
  &lt;/f:facet&gt;  
  &lt;h:panelGroup id="reconArrowTogglerLink"&gt;   
  &lt;div class="#{reconciliationDetail.parentId == 0?'ux_reconciliation_togger_icon':'ux_reconciliation_togger_icon ux_tab_style'}" onclick="reconciliationDatatable.onRowToggle(this, reconcileTable);"&gt;                                
      &lt;p:rowToggler/&gt;
      &lt;/div&gt;
      &lt;/h:panelGroup&gt;
      &lt;h:outputText styleClass="ux_column_data_text ux_normal_text ux_reconciliation_subcriber" rendered="#{reconciliationDetail.payorName != null}" value="#{reconciliationDetail.payorName}"/&gt;
  
      &lt;/p:column&gt;
  </code></pre>