[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

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.