2 Replies Latest reply on Apr 13, 2011 6:39 AM by Ravi kiran Kuchika

    rich:extendedDataTable in rich faces version 4 not showing filtering

    Ravi kiran Kuchika Newbie

      Hi,

       

      I am trying to use rich:extendedDataTable in

      rich faces 4 final version, Datatable is being displayed without Filtering,sorting and grouping. In rich faces 3.3.3 it works fine but it gives an extra column.Can any one have idea why is it so?? I am using follwoing jars.

       

      richfaces-components-api-4.0.0.Final.jar

      richfaces-components-ui-4.0.0.Final.jar

      richfaces-core-api-4.0.0.Final.jar

      richfaces-core-impl-4.0.0.Final.jar

       

      Below is the code snippet.

       

      <rich:extendedDataTable value="#{carsBean.allInventoryItems}"

      var="car" id="table" style="height:300px; width:500px;"

      cellspacing="1"

      onRowMouseOver="this.style.backgroundColor='#CFDAEB'" groupingColumn="column1">

      <rich:column id="column1" sortable="true">

      <f:facet name="header">

        <h:outputText value="fasdfasdfsdaf" />

      </f:facet>

      <h:outputText value="#{car.vendor}" />

      </rich:column>

      <rich:column sortable="true">

      <f:facet name="header">

        <h:outputText value="fasdgfdgfgfg" />

      </f:facet>

      <h:outputText value="#{car.model}" />

      </rich:column>

      <rich:column sortable="true">

      <f:facet name="header">

        <h:outputText value="sssssssss" />

      </f:facet>

      <h:outputText value="#{car.price}" />

      </rich:column>

      <rich:column sortable="true">

      <f:facet name="header">

        <h:outputText value="dddddddddd" />

      </f:facet>

      <h:outputText value="#{car.mileage}" />

      </rich:column>

      <rich:column sortable="true">

      <f:facet name="header">

        <h:outputText value="eeeeeeeeeeeee" />

      </f:facet>

      <h:outputText value="#{car.vin}" />

      </rich:column>

      <rich:column sortable="true">

      <f:facet name="header">

        <h:outputText value="gggggggggggggggg" />

      </f:facet>

      <h:outputText value="#{car.stock}" />

      </rich:column>

      <rich:column sortable="true">

      <f:facet name="header">

        <h:outputText value="vvvvvvvvv" />

      </f:facet>

      <h:outputText value="#{car.daysLive}" />

      </rich:column>

      </rich:extendedDataTable>