4 Replies Latest reply on Jul 23, 2010 4:34 AM by ilya_shaikovsky

    datatable refreshing with combobox change

    ravi.kuchika

      Hello all

       

      I have a datatable which contains rich:columns. rich:columns contains a combobox.onchane of combobox i am calling valuechangelistener and i am not giving any rerender attributes, but still on change of any combobox entire datable is getting refreshed.

       

      <rich:columns
                                  value="#{portfolioFilterMappingBean.ibFilterNameList}"
                                  var="filteritem" index="index" id="dynacolumns" >
                                  <rich:comboBox id="editabledrop#{index}"
                                      value="#{filter.ibFilterNames[index].filterValueSelected}"
                                      defaultLabel="- Select Criteria -"
                                      valueChangeListener="#{portfolioFilterMappingBean.comboBoxChange}">
                                      <f:selectItem itemLabel="Enter" itemValue="Please Enter" />
                                      <f:selectItems
                                          value="#{filter.ibFilterNames[index].filterValueList}" />
                                      <a4j:support event="onchange" ajaxSingle="true">
                                          <f:param name="index" value="#{index}" />
                                      </a4j:support>
                                  </rich:comboBox>

                                 
                                 
                              </rich:columns>

       

       

      my datatable is in a4j:outputpanel with ajaxrendered=true

       

      can any one suggest what am i doing wrong here??