|
Thanks for the info. I'm a little closer, but I'm still having problems. The basic problems seem to be: 1. When I click a column header my URL ends up having a "#" tacked on to the end of it. If I manually go up and remove it, I see that the sorting did happen (at least the sorting code ran) for the default column. Not sure what this means. 2. Although I created a sortColumn String type, per the email below, and created getter/setters, the sortColumn setter is never called, the getter is called, however. The data table definition has sortColumn = "#{TD.sortColumn}" and the TD class has the sortColumn property with the getter/setter. Also, if this helps, the sorting only arrow I ever get is over the first column. It never changes direction and it never moves to another column. Here's my column definition example that doesn't set the property using the setter in the TD class: <h:column> f:facet name="header"> <t:commandSortHeader columnName="personName" arrow="true" > <h:outputText value="#{msgs.PersonName}" /> </t:commandSortHeader> </f:facet> <h:outputText value="#{update.personName}" /> </h:column> I'd be almost done if I could just get clicking on the header to actually set the sortColumn property. Thanks again for any suggestions. Mike ------------------------------- [EMAIL PROTECTED] wrote:
|
- Re: Getting sorting to work in data table -- header click... Mike
- Re: Getting sorting to work in data table -- header ... gramani
- Re: Getting sorting to work in data table -- hea... Mike
- Re: Getting sorting to work in data table --... gramani
- Data Table Sorting still not working Mike
- RE: Data Table Sorting still not wo... Tom Butler
- Re: Data Table Sorting still no... Mike
- RE: Data Table Sorting stil... Tom Butler
- Re: Data Table Sorting stil... Mike
- HURRAY!!! SORTING IS WORKIN... Mike
- Re: HURRAY!!! SORTING IS WO... Legolas Woodland

