This content has been marked as final.
Show 5 replies
-
1. Re: Sorting numbers columns in dataTable
cash1981 May 29, 2008 4:51 AM (in response to jobb)Hello.
Sorry for asking you a question on your post, but I see that you managed to get your sortBy working with String.
I cannot get mine to work at all, and I get no error messages.
I have a rich:dataTable with a List returning<rich:dataTable id="proeveSokList" var="proeve" value="#{proeveSokList}" rendered="#{proeveSokList.size > 0}" rows="20"> <rich:column sortBy="#{proeve.person.lastname}"> <f:facet name="header"> Lastname </f:facet> <h:outputText value="#{proeve.person.lastname}"/>
Can you spot anything?
Maybe you can paste your relevant code? -
2. Re: Sorting numbers columns in dataTable
jobb May 29, 2008 4:57 AM (in response to jobb)You forgot sortMode="single" in <rich:dataTable
-
3. Re: Sorting numbers columns in dataTable
ilya_shaikovsky May 29, 2008 5:54 AM (in response to jobb)jobb@miroko.net, you shout try latest CR8. Yes in your build it sorts strings. But it was fixed.
-
4. Re: Sorting numbers columns in dataTable
cash1981 May 29, 2008 9:34 AM (in response to jobb)"jobb@miroko.net" wrote:
You forgot sortMode="single" in <rich:dataTable
Thank you very much. That did it. Its strange, because the version on the live example does not have sortMode on the dataTable, and it still works. -
5. Re: Sorting numbers columns in dataTable
cash1981 May 29, 2008 11:03 AM (in response to jobb)"ilya_shaikovsky" wrote:
jobb@miroko.net, you shout try latest CR8. Yes in your build it sorts strings. But it was fixed.
Where can I download the jar?