myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@obsidium.com>
Subject Re: TomaHawk DataTable doesn't sort my data
Date Mon, 12 Dec 2005 22:33:52 GMT
NB: My suggestion below is exactly the same as what Patrick was saying, 
just in different words. The method that returns the data list needs to 
do the sorting...

Simon Kitching wrote:
> Are you aware that the sortColumn expression should point to a simple 
> PROPERTY on the backing bean, not a "sort method"? The property is 
> assigned the *name* of the *column* to sort on.
> 
> The method pointed to by the "value" attribute is responsible for 
> returning its data in the correct sort order; it does this by looking at 
> the sort column PROPERTY to determine what to sort on.
> 
> This should all be explained in the sorting example.
> 
> rahmoune patrick wrote:
>> Hello,
>>  
>> I don't know so much about dataTable but I call the sort method 
>> explicitely
>> when I return the data list.

Mime
View raw message