Hi All,

I have the following code for the table which i want as sortable,

<tr:table value="#{myBean.sortableUsers}"
var="row"
width="100%" >
<tr:column sortProperty="name"
sortable="true">
<f:facet name="header">
<h:outputLabel value="Name"/>
</f:facet>
<tr:outputText value="#{row.name}"/>
</tr:column>
<tr:column sortProperty="id"
sortable="true">
<f:facet name="header">
<h:outputLabel value="Id"/>
</f:facet>
<tr:outputText value="#{row.id}"/>
</tr:column>
.
.
</tr:table>

In Bean,
usersList = response.getUsersList();
sortableUsers = new SortableModel(usersList);

But while running, when i click on the any column header, sorting is not
getting done.

Can anybody let me know the mistake i did here.

Thanks in advance,
Hari
-- 
View this message in context: 
http://www.nabble.com/Trinidad-table-sorting-is-not-working.-tp19854313p19854313.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to