[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: SWT Table
|
Hi,
Please read the bug report I mentioned in my reply it exactly provides
this feature for you. To color one cell is only half the story because
you need to update those selections (keyboard, ...). That's why
hopefully JFace will provide this feature on a common base in 3.3M5.
If you want to create this feature your own go and study the code
attached to the patch the trickiest part is of course the updating the
selection changes done by keypresses (ARROW,...). You could leave this
part out by simply registering a KeyDown-Lister and cancle all key
events setting event.doit=false and only work with MouseEvents.
Once more the bug in question:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=151295
Tom
Swetha schrieb:
> Hi Tom,
>
>
> I tried with SWT.FULL_SELECTION... I am getting what I want...but If
> select second column content the entire row is getting selected.. which
> looks odd...
>
> Can u please help me in getting only particular cell get colored when
> I select that column......
>
>