This content has been marked as final.
Show 4 replies
-
1. Re: scrollableDataTable and Sorting
krasig Sep 17, 2007 10:25 AM (in response to indyjones)try this:
<rich:column id="username"> <f:facet name="header"><h:outputText tyleClass="headerText" value="Username" /></f:facet> <h:outputText value="#{vuser.username}" /> </rich:column>
or
<rich:column id="usern" sortExpression="username"> <f:facet name="header"><h:outputText styleClass="headerText" value="Username" /></f:facet> <h:outputText value="#{vuser.username}" /> </rich:column>
-
2. Re: scrollableDataTable and Sorting
indyjones Sep 17, 2007 10:49 AM (in response to indyjones)yep....that did it....
Thanks! -
3. Re: scrollableDataTable and Sorting
rulinsun Jan 24, 2008 10:05 AM (in response to indyjones)If the column value is an indirect field, such as
<h:outputText value="#{vuser.address.street}",
then how to give the sortExpression? I tried "address.street", which doesn't work.
Thanks!
Rulin -
4. Re: scrollableDataTable and Sorting
konstantin.mishin Jan 25, 2008 7:15 AM (in response to indyjones)sortExpression="#{vuser.address.street}"