Skip to main content



      Home
Home » Eclipse Projects » Nebula » GridTableViewer Sorting
GridTableViewer Sorting [message #598476] Mon, 19 October 2009 10:06 Go to next message
Eclipse UserFriend
I am using a GridTableViewer and I am trying to get sorting to work with the viewer. I have set a ViewerSorter by calling the .setSorter method on the GridTableViewer but none of the columns have a sort indicator on them and clicking on a column does not seem to change the sorting based upon my Sorter implementation.

Is there any other steps I need to do in order for sorting to work? I don't see a .setSortColumn() method or .setSortOrder() method on the Grid control like a Table control has.

Thanks,

Marty
Re: GridTableViewer Sorting [message #598481 is a reply to message #598476] Mon, 19 October 2009 10:10 Go to previous message
Eclipse UserFriend
IIRC the method you need is the one on GridColumn#setSort()

Tom

Marty Jones schrieb:
> I am using a GridTableViewer and I am trying to get sorting to work with
> the viewer. I have set a ViewerSorter by calling the .setSorter method
> on the GridTableViewer but none of the columns have a sort indicator on
> them and clicking on a column does not seem to change the sorting based
> upon my Sorter implementation.
> Is there any other steps I need to do in order for sorting to work? I
> don't see a .setSortColumn() method or .setSortOrder() method on the
> Grid control like a Table control has.
>
> Thanks,
>
> Marty
Previous Topic:GalleryTreeViewer & IEMFListProperty
Next Topic:GridTableViewer Sorting
Goto Forum:
  


Current Time: Sun Jul 13 01:45:51 EDT 2025

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

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

Back to the top