Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Sorting a TableViewer: the simplest case
Sorting a TableViewer: the simplest case [message #547724] Mon, 19 July 2010 13:41
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
I looked at the Javadoc for ViewerComparator and its default behavior is just what I need. However, simply adding
tableViewer.setComparator(new ViewerComparator());

doesn't work. Do I just need to add SelectionListener to the table columns? Or is something like the approach from Snippet040TableViewerSorting necessary?
Previous Topic:TreeViewer refresh
Next Topic:TreeViewer PendingUpdateAdapter Refresh Problem
Goto Forum:
  


Current Time: Wed Apr 24 13:45:26 GMT 2024

Powered by FUDForum. Page generated in 0.02735 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top