[
https://issues.jboss.org/browse/RF-10567?page=com.atlassian.jira.plugin.s...
]
Flávio Henrique commented on RF-10567:
--------------------------------------
This is the code. If it´s not enought, I can send an attachment a fully working example.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
</h:head>
<h:body>
<h:form>
<rich:dataTable value="#{meuMB.pessoas}" var="pessoa"
rows="5"
noDataLabel="Não há dados" sortMode="single">
<rich:column id="a1" sortBy="#{pessoa.nome}">
<f:facet name="header">
<h:outputLabel value="Nome" />
</f:facet>
<h:outputText value="#{pessoa.nome}" />
</rich:column>
<rich:column sortBy="#{pessoa.idade}" >
<f:facet name="header">
<h:outputLabel value="Idade" />
</f:facet>
<h:outputText value="#{pessoa.idade}" />
</rich:column>
<f:facet name="footer">
<rich:dataScroller />
</f:facet>
</rich:dataTable>
</h:form>
</h:body>
</html>
RF 4 Datatable clientside sort don´t work
-----------------------------------------
Key: RF-10567
URL:
https://issues.jboss.org/browse/RF-10567
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Milestone6
Reporter: Flávio Henrique
RF 4 Datatable (simple) clientside sort don´t work. The column header can´t turns into a
clicable and sortable header like in 3.X branch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira