-
1. Re: sorting and external filtering - mutually exclusive?
ilya_shaikovsky Nov 12, 2008 4:29 AM (in response to x490812)so just use external filtering where you need to use built-in sorting.
-
2. Re: sorting and external filtering - mutually exclusive?
mnott Dec 17, 2009 3:00 PM (in response to ilya_shaikovsky)Not so clear. When using the external filter example and sorting together, clicking in the input field also triggers a sort event.
-
3. Re: sorting and external filtering - mutually exclusive?
nbelaevski Dec 17, 2009 9:22 PM (in response to mnott)Hi Matthias,
You can workaround this by adding the following attribute to input:
onclick="Event.stop(event)"
-
4. Re: sorting and external filtering - mutually exclusive?
user1234 Dec 21, 2009 1:58 AM (in response to x490812)You can use sorting and external filter both together like this....
<
<rich:extendedDataTable var="DATA_ROW" ..........
<rich:column id="column1" label="#{bean.col_01}"
filterMethod="#{bean.filterMethodcolumn1}" sortBy="#{DATA_ROW.colvalue}" sortable="true">
<f:facet name="header">
<h:outputText id="hdr-col" value="#{bean.colheader_01}" />
</f:facet>
<f:facet name="filter">
</h:inputText>
</f:facet>
<h:outputText id="col-text" value="#{DATA_ROW.colvalue}"/>
</rich:column>
-
5. Re: sorting and external filtering - mutually exclusive?
mnott Dec 21, 2009 1:59 AM (in response to user1234)Thanks.
M
-
6. Re: sorting and external filtering - mutually exclusive?
kito99 Jan 26, 2010 3:08 PM (in response to user1234)This seems like a better solution than the Event.stop(event) workaround, but it doesn't seem to work with <rich:dataTable> (instead of the extended datatable) with version 3.3.2SR1. Should it work, or is there another option?