filter method should be called every time on dataTable rendering in order to show current data carefully. filtering will be lost after request in other case.
thanks for the reply.
But it is calling the method for each row, ie no. of rows.
ie, if dataTable has 1000 rows it is calling the filterMethod 1000times even if the filter value is null.
can it be removed
look.. your filter method could contains of any conditions.. So, we could not say that the condition for its calling is not null filterValue. So it should be called for every row.
thanks for the reply, now i understand.
but when i use filterBy the dataScroller attached with the dataTable is not rerendering. that is why i used filterMethod.
is it a bug.
reRender should work on the 3.2.2.CR1 version, dataScroller will be rerendered after using filterBy!
if it does not work, put the dataScroller inside a4j:outputPanel and reRender the outputPanel!
yes, add rerender="ds" to your dataTable component
Thanks for the help.
rerender is not there for dataTable in3.2.0
so i should update to 3.2.2 right?