2

I use a CheckBoxTreeViewer and I want to hide a checked checkbox. I dont' know how to do that : when a check box is hidden, it's uncheckd too... Anyone have a solution ?

Thx

paranoia25
  • 626
  • 1
  • 5
  • 23
  • What do you mean by 'hide'? – greg-449 Oct 31 '14 at 14:15
  • I want to set invisible for the user a specific Checkbox (a line of the treeviewer) which is already checked. But wihtout uncheck the checkbox : I want that in the underlying model the corresponding element is checked. In other words, I want to handle the underlying model and its view separately. – paranoia25 Oct 31 '14 at 20:30
  • You could use a `ViewFilter` to filter the rows from the tree. – greg-449 Oct 31 '14 at 20:51
  • Yes but when I filter a row, this row is automaticcaly unselected : so I lost the selection... – paranoia25 Nov 01 '14 at 07:55

0 Answers0