Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » table row selection on windows(only the first cell is selectable)
table row selection on windows [message #514081] Fri, 12 February 2010 11:31 Go to next message
Luca Ferrari is currently offline Luca FerrariFriend
Messages: 159
Registered: November 2009
Senior Member
I've noted that a difference between an SWT table on Linux and the corresponding on Windows is that on the latter platform only the first cell is user-selectable (and its background changes appropriately) while the other cells of the same row remain un-selected like. In linux all the row is selected and the selection is active on every cell. Is there a way to reproduce the same behavior on Windows too?
Re: table row selection on windows [message #514108 is a reply to message #514081] Fri, 12 February 2010 13:10 Go to previous messageGo to next message
Wolfgang is currently offline WolfgangFriend
Messages: 1
Registered: January 2010
Junior Member
For the Table constructor there is a SWT.FULL_SELECTION style flag. Maybe that helps.
Re: table row selection on windows [message #514110 is a reply to message #514081] Fri, 12 February 2010 13:03 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5466
Registered: July 2009
Senior Member
You need to use SWT.FULL_SELECTION when creating the Table

Tom

Am 12.02.10 12:31, schrieb Luca Ferrari:
> I've noted that a difference between an SWT table on Linux and the
> corresponding on Windows is that on the latter platform only the first
> cell is user-selectable (and its background changes appropriately) while
> the other cells of the same row remain un-selected like. In linux all
> the row is selected and the selection is active on every cell. Is there
> a way to reproduce the same behavior on Windows too?
Re: table row selection on windows [message #514390 is a reply to message #514110] Mon, 15 February 2010 08:13 Go to previous message
Luca Ferrari is currently offline Luca FerrariFriend
Messages: 159
Registered: November 2009
Senior Member
Thanks,
it was that!
Previous Topic:TableViewer cutiing off images
Next Topic:mouseExit event missing.
Goto Forum:
  


Current Time: Mon Nov 24 20:20:48 GMT 2014

Powered by FUDForum. Page generated in 0.01824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software