You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Dhacha <dh...@gmail.com> on 2006/08/18 15:31:54 UTC

How to use sortable in t:columns?

How can i use sortable with t:columns? since columns will be coming from a
bean and i want to sort only one column, not the al the column in table.
Can anybody help me?

Sample code :

<t:dataTable id="data" var="tabkey"
            value="#{dynBean.idml}" 
            preserveDataModel="false">
           <t:columns value="#{dynBean.cDMl}" var="column" >
                <f:facet name="header">
                       <h:outputText value="#{cdata[col]} " />
                </f:facet>
                <h:outputText  value="#{dynBean.co}" />
         </t:columns>   
</t:dataTable>

Thanks,
Dhacha
-- 
View this message in context: http://www.nabble.com/How-to-use-sortable-in-t%3Acolumns--tf2127237.html#a5869739
Sent from the My Faces - Dev forum at Nabble.com.