1 2 Previous Next 19 Replies Latest reply: Apr 30, 2009 6:13 AM by Paulo Pinto RSS

<rich:columns> is not working with filterBy/sortBy

Paulo Pinto Novice

Hi everyone,

I am trying to make use of <rich:columns> to build a dynamic table that also supports filtering and sorting. Somehow the filterBy and sortBy options do not work.

My table

<f:view locale="#{sessionScope.WW_TRANS_I18N_LOCALE}">
 <h:form id="myform">
 <rich:dataTable value="#{dataBean.dataModel}" var="row">
 <rich:columns value="#{dataBean.columns}" var="col" index="indexCol"
 sortBy='#{row[col.header]}' filterBy='#{row[col.header]}' filterEvent="onkeyup">
 <f:facet name="header">
 <h:outputText value="#{col.header}"/>
 <h:outputText value='#{row[col.header]}'/>


The table gets properly rendered and the input fields together with the sorting arrows are made visible, but they fail to work.

Am I doing something wrong here? I am using RichFaces 3.3.0.GA

Thanks in advance,

1 2 Previous Next