| TableTreeViewer and sorting with SWT.CHECK [message #271888] |
Sat, 18 September 2004 11:43 |
Eclipse User |
|
|
|
Sorry for the newbie question here, but I am stuck.
I am using a TableTreeViewer with an underlying TableTree that has
SWT.CHECK
enabled. I also sort this TableTree using a ViewSorter. I use the sorter
so that it
sorts on columns used at the second layer, as well as the first. This
gives me the
desired effect of the second tier of objects being sorted along with the
top.
The checks in the boxes remain aligned at the top level. However, at the
second
level down, the check boxes remain in the same rows, and do not follow the
sorted
Objects associated with the model.
For example, I expand a top level row, and then check the top-most second
layer
box. If I sort on a column, I see the data move as expected to, say, the
bottom row.
However the check remains on the top row.
Has anyone solved this problem? Any thoughts on this issue would be
greatly appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.03387 seconds