manikandan_dani 0 Newbie Poster

Hi ,
i am developing web application using jsf2.0. it includes Datatable for view the values from mysql.
I wish to filter the column by using filterby. but It is not working properly.. when i try to filter, it display two values for single value. How to solve this problem.
sample code is here,

<h:form id="Search_Users">
<rich:dataTable value="#{SearchuserBean.perInfoAll}" var="item" rows="#{SearchuserBean.count}" reRender="ds" id="simpletable">
<f:facet name="header">
<rich:columnGroup>
<rich:column colspan="5" >
<h:outputText value="Search Users"/>
</rich:column>
<rich:column breakBefore="true">
<h:outputText value="First Name"/>
</rich:column>
<rich:column>
<h:outputText value="Last Name"/>
</rich:column>
<rich:column>
<h:outputText value="E-Mail ID"/>
</rich:column>
<rich:column>
<h:outputText value="Role"/>
</rich:column>
<rich:column>
<h:outputText value="Vendor"/>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column filterBy="#{item.firstname}" filterEvent="onkeyup" >
<h:outputText value="#{item.firstname}"/>
</rich:column>
<rich:column filterBy="#{item.lastname}" filterEvent="onkeyup" >
<h:outputText value="#{item.lastname}"/>
</rich:column>
<rich:column filterBy="#{item.email}" filterEvent="onkeyup" >
<h:outputText value="#{item.email}"/>
</rich:column>
<rich:column filterBy="#{item.role}" filterEvent="onkeyup" >
<h:outputText value="#{item.role}"/>
</rich:column>
<rich:column filterBy="#{item.vendor}" filterEvent="onkeyup" >
<h:outputText value="#{item.vendor}"/>
</rich:column>
<f:facet name="footer">
<rich:datascroller id="ds" renderIfSinglePage="false"></rich:datascroller>
</f:facet>
</rich:dataTable>
</h:form>

I am waiting for the result.
Thanks,