|
Mike – are you calling the sort
method from within your getUpdates getter method in your bean (I’m assuming
Updates is your arraylist/datamodel since you have value
="#{TD.updates}" ? Note I’m not sure if this is needed or not
– you are ahead of where I am with regards to getting this working –
I’m still working on understanding how to implement this; The reason
I’m asking about including the sort in the getter method is because of a
response I received from another mail list (mistakedly sent this to the dev
mail list earlier): “-----Original Message----- Sort your data in getArrlist_providers depending on the values of sortcol and sortascending. Collections.sort(arrlist_providers, YourComparator) may sort the list. ” Also, here is another
example I just found that shows calling the sort within the getter
method: http://mail-archives.apache.org/mod_mbox/myfaces-commits/200505.mbox/[EMAIL PROTECTED] One good working example
end-to-end (complete code) would be very helpful. The link above is the closet
I have found, however, I’m still deciphering it – for example,
sort(getsortt(), getascending()) – I’m not sure what the getsort()
actually calls or resolves to? Thanks Tom From: Mike [mailto:[EMAIL PROTECTED] Hi Geeta ,
|
- Getting sorting to work in data table -- header click doe... 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
- Re: Getting sorting to work in data tabl... Mike
- Re: Getting sorting to work in data... gramani
- Data Table Sorting still not wo... Mike
- RE: Data Table Sorting stil... Tom Butler
- Re: Data Table Sorting stil... 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
- Re: HURRAY!!! SORTING IS WO... Mike
- Re: HURRAY!!! SORTING IS WO... Legolas Woodland
- RE: HURRAY!!! SORTING IS WO... Tom Butler
- Re: HURRAY!!! SORTING IS WO... Mike
- Re: Data Table Sorting stil... Simon Kitching

