Hi Fabien,
 
Since ULC 2008, Table sorting and filtering is supported out-of-the-box. 

You can stop using the community code for sorting.

You may use the following methods on ULCTable to get view and model
mapping:

convertColumnIndexToModel(int)
convertColumnIndexToView(int)
convertRowIndexToModel(int)
convertRowIndexToView(int)

Thanks and regards,

Janak

-----------------------------------------
Janak Mulani

email: [email protected]
url: http://www.canoo.com <http://www.canoo.com/> 

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
----------------------------------------- 
________________________________

        From: [email protected]
[mailto:[email protected]] On Behalf Of Fabien RIVOISY
        Sent: Monday, February 15, 2010 9:26 AM
        To: [email protected]
        Subject: [ULC-developer] RE: ULCTable with editable column and
sort model (Janak Mulani)
        
        Hello Janak, 
        
        i have the ulc 2008 
        i have try your method setAutoCreateRowSorter and it s work fine.
No more sort when i update a cell manually. 
        Before i use the class SortedTableModel and SortTableColumnHandler
to make a sort table. In this case i can use the method getRealRow to have
the original row for the first model. 
        do you know if a similar method exist when we use the method
setAutoCreateRowSorter? 
        
        Thanks 
        
        Fabien 
        
        
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to