This content has been marked as final.
Show 3 replies
-
1. Re: ExtendedDataTable Filtering
kukeltje Jul 11, 2009 6:01 AM (in response to tdakanalis)afaik, you can't do this witth the built-in filtering attributes. What works for me is using a filter method and do e.g. the following:
<rich:column label="Businesskey" id="businesskey" sortBy="#{pi.key}" selfSorted="true" filterMethod="#{processinstances.key}"> <f:facet name="header"> <h:outputText value="Businesskey" /> </f:facet> <f:facet name="filter"> <h:form> <h:inputText value="#{processinstances.keyFilter}" size="10"> <a4j:support event="onkeyup" reRender="pit" ajaxSingle="true" requestDelay="500" /> </h:inputText> </h:form> </f:facet> <h:outputText value="#{row.key1}" id="key1" /> </rich:column>
-
2. Re: ExtendedDataTable Filtering
tdakanalis Jul 13, 2009 6:03 AM (in response to tdakanalis)Hi, and thanks for your reply,
I tried to use the filterMethod but it does not work. Maybe the problem is that i have implemented a custom data model and I have to implement also some logic in order to handle the behavior of the filterMethod. What do you think about? -
3. Re: ExtendedDataTable Filtering
ilya_shaikovsky Jul 13, 2009 6:07 AM (in response to tdakanalis)check demosite DataTable section. Modifiable model sample there. You seems need the same for your extended table model. you could checkout full demo sources from svn and look through.