Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » TableTreeViewer and sorting with SWT.CHECK
TableTreeViewer and sorting with SWT.CHECK [message #271888] Sat, 18 September 2004 11:43
Eclipse UserFriend
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.
Previous Topic:EPL interpretation help
Next Topic:How to handle An Invalid Thread Access Exception?
Goto Forum:
  


Current Time: Sun Nov 09 10:20:01 EST 2025

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

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

Back to the top