-
1. Re: extendedDataTable sortBy doesnt work
ilya_shaikovsky Feb 8, 2010 7:57 AM (in response to eugenbesel)please try under 3.3.3 latest milestone. 3.2.2 is too old version and we do not patch previous version. Current version seems works fine at demos. -
2. Re: extendedDataTable sortBy doesnt work
eugenbesel Feb 9, 2010 2:09 AM (in response to ilya_shaikovsky)hello Ilja,
I also looked at
http://ludvigsens.net/richfaces-3.3.2/richfaces/columns.jsf?c=columns&tab=usage
but my code looks like on this page.
I take the new version of Richfaces: 3.3.3 Beta, but I have still the old behavior.
I have the methode getSortOrder in my Bean.
<rich:extendedDataTable value="#{searchModul.columnData}" var="data" width="500px" height="600px" sortMode="single" selectionMode="multi">
<f:facet name="header">
<h:outputText value="#{searchModul.tableHeader}"></h:outputText>
</f:facet>
<rich:columns id="col_#{col}" value="#{searchModul.columns}"
var="col" index="ind" filterBy="#{data[ind]}" sortBy="#{data[ind]}"
sortOrder="#{searchModul.sortOrder[col]}" filterEvent="onkeyup" filterValue="#{searchModul.filterValue}">
<f:facet name="header">
<h:outputText value="#{col}"/>
</f:facet>
<h:outputText value="#{data[ind]}"></h:outputText>
</rich:columns>
</rich:extendedDataTable>BBean
public Map<String, Object> getSortOrder() {
return sortOrder;
}public List<ArrayList<String>> getColumnData(){
return dataList;
}public String getFilterValue() {
return filterValue;
}public void setFilterValue(String filterValue) {
this.filterValue = filterValue;
}I have the same behavior as before. after click on the header for sorting of data, I get the wait symbol, which never ended.
-
3. Re: extendedDataTable sortBy doesnt work
ilya_shaikovsky Feb 9, 2010 4:50 AM (in response to eugenbesel)let's move the discussion into single thread