Skip to main content



      Home
Home » Eclipse Projects » JFace » Checkbox in a TreeViewer column - How?(how to add checkbox functionality into a TreeViewer column)
Checkbox in a TreeViewer column - How? [message #902054] Wed, 15 August 2012 12:32 Go to next message
Eclipse UserFriend
Hi,
Can you anyone tell me if it's possible to add a CheckBox to a column/cell within a TableViewer? I have seen examples where images are used to indicate a checkbox but I don't want this, I want a typical checkbox that can be checked/unchecked.

I know I can do this using a Table (using TableEditor) but I can't get it working for my TableViewer.

Any pointers would be appreciated.
Thanks.
Re: Checkbox in a TreeViewer column - How? [message #902055 is a reply to message #902054] Wed, 15 August 2012 12:48 Go to previous messageGo to next message
Eclipse UserFriend
OK, my bad. I stupidly didn't realise I could use the SWT.CHECK option! Shocked
Re: Checkbox in a TreeViewer column - How? [message #911764 is a reply to message #902055] Wed, 12 September 2012 05:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi Glenn,

did this work for you??Can yo tell me the snipette.Its actually not working for me Confused
Re: Checkbox in a TreeViewer column - How? [message #1720639 is a reply to message #911764] Wed, 20 January 2016 01:39 Go to previous message
Eclipse UserFriend
snippet please Smile
Previous Topic:detect class name of opened jface dialog,detect at runtime
Next Topic:please delete this
Goto Forum:
  


Current Time: Wed Jul 23 13:16:37 EDT 2025

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

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

Back to the top