[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: 'passive' Table

Adam Pordzik wrote:
Hello,

Hi,


I consider using a Table widget to simply output unselectable Data, but I cannot find a proper setXxxx Method for disabling any click to table rows.

I'm not sure if it works, but you could try the style SWT.HIDE_SELECTION.
If this does not work, you could register a SelectionListener that runs deselectAll on the table (ugly).
Or you could try to work with setEnabled, but I don't know, if the table is scrollable then.



Or is there a possibility to change the 'disabled' background- color?

Thanks for your hints.

Hope you could use it.


A


Peter