Reputation: 11
I have a problem with JFace TableViewer in RCP. Basically I have a table with 4 rows, and as input I give an already sorted list of elements. So I expect that first element in my input list is first row in a table. However, the TableViewer reorders the elements, and shows them sorted in DESC order for first column. Since the value I initially sorted is in last column, this totally changes what I want to have.
The questions are:
Upvotes: 0
Views: 616
Reputation: 11
Uf, my mistake.. My comparator was initialized to sort first column in DESC order. So sorry, there is actually no problem :)
Upvotes: 1