[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Default behaviour when selecting a row in a disabled table

The table is being used in a dialog, and there are some radio buttons that determine whether the user can or cannot select items on the table. Therefore when a certain radio button is selected, i want the table to be disabled, but i also want to show what row is selected in the table


Tom Schindl wrote:
Hi,

I have no answer but why do you disable the whole table?

Tom

Conor O'Mahony schrieb:
Hi,

Apologies if this is a simple question, but I was wondering if someone
could tell me what the default behaviour is when you set a selection on
a table that is disabled.

i.e.

table.setEnabled(false);
table.setSelection(1);

Should the row be highlighted on the disabled table or will all the
table still be greyed out? The reason I'm asking is because I'm trying
to highlight a row on a table that is not enabled.