|Re: tableviewer selections [message #642397 is a reply to message #642393]
||Wed, 01 December 2010 07:59
| Daniel KrÃ¼gler
Registered: July 2009
On 12/1/2010 08:51, Tom Schindl wrote:|
> Am 01.12.10 08:30, schrieb Daniel Krügler:
>> On 11/30/2010 21:35, fran81 wrote:
>>> I have a tableviewer with cells that are not-editable.
>>> BY default cells in the first column can be selected. How do I make the
>>> table completely not selectable?
>> The intuitive choice would be to set the enablement property of the
>> underlying widget to false.
> This would have the draw back that you can't even scroll the widget
> which is very often not the desired behavior.
<nod>, I understand that, but the exact use-case of the OP was not clear
to me (which is often the case, if people are not describing more
precisely their intentions). Sometimes this is exactly what you want,
sometimes not. Therefore, and with the second situation in mind, I added
"If viewer.getTable().setEnabled(false) does not what you want"
Powered by FUDForum
. Page generated in 0.06321 seconds