[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: treeviewer column sorter question

Found it:

ViewerComparator#setSorter();

--
Derek


Derek Morris wrote:
Hi,

I have successfully implemented a column sorter for my treeviewer - it sorts when I click on a column header.

But, I can't find out how to sort a column programmatically. For example I want to remember which column was sorted (and it's sort direction) so that I can restore the next time I show the viewer.

Does anybody have any pointers on how I might do this?

Thanks,