Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table Cell Selection
Table Cell Selection [message #447071] Wed, 08 December 2004 13:17 Go to next message
Eclipse UserFriend
Originally posted by: berta_hauri.hotmail.com

Is it possible to set up an SWT table so that you can select a portion of
a row without selecting the whole row. From what I can gather it seems like
you can either pick the first cell of each row or the entire row but not a
portion of the row. Does anyone know if this is possible? I tried to set
up the table without the SWT.FULL_SELECTION flag, but I can only select
the first cell.
TIA, Berta
Re: Table Cell Selection [message #447102 is a reply to message #447071] Wed, 08 December 2004 15:47 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
A table is not a spread sheet. You can't select cells in this manner.

"Berta Hauri" <berta_hauri@hotmail.com> wrote in message
news:cp6usp$t8p$1@www.eclipse.org...
> Is it possible to set up an SWT table so that you can select a portion of
> a row without selecting the whole row. From what I can gather it seems
like
> you can either pick the first cell of each row or the entire row but not a
> portion of the row. Does anyone know if this is possible? I tried to set
> up the table without the SWT.FULL_SELECTION flag, but I can only select
> the first cell.
> TIA, Berta
>
Re: Table Cell Selection [message #447106 is a reply to message #447102] Wed, 08 December 2004 16:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: berta_hauri.hotmail.com

Hi Steve,
Thanks for your answer.
I don't actually need a spread sheet where the user can select every cell.
But is there a way to find out with a table on which column the user
double clicked?
TIA, Berta

Steve Northover wrote:

> A table is not a spread sheet. You can't select cells in this manner.

> "Berta Hauri" <berta_hauri@hotmail.com> wrote in message
> news:cp6usp$t8p$1@www.eclipse.org...
>> Is it possible to set up an SWT table so that you can select a portion of
>> a row without selecting the whole row. From what I can gather it seems
> like
>> you can either pick the first cell of each row or the entire row but not a
>> portion of the row. Does anyone know if this is possible? I tried to set
>> up the table without the SWT.FULL_SELECTION flag, but I can only select
>> the first cell.
>> TIA, Berta
>>
Re: Table Cell Selection [message #447161 is a reply to message #447106] Thu, 09 December 2004 12:26 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet3.java?rev=HEAD&am p;content-type=text/vnd.viewcvs-markup
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet110.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Also there is TableCursor which navigates the table one cell at a time:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet96.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup


"Berta Hauri" <berta_hauri@hotmail.com> wrote in message
news:cp799t$1qc$1@www.eclipse.org...
> Hi Steve, Thanks for your answer. I don't actually need a spread sheet
> where the user can select every cell. But is there a way to find out with
> a table on which column the user double clicked?
> TIA, Berta
> Steve Northover wrote:
>
>> A table is not a spread sheet. You can't select cells in this manner.
>
>> "Berta Hauri" <berta_hauri@hotmail.com> wrote in message
>> news:cp6usp$t8p$1@www.eclipse.org...
>>> Is it possible to set up an SWT table so that you can select a portion
>>> of
>>> a row without selecting the whole row. From what I can gather it seems
>> like
>>> you can either pick the first cell of each row or the entire row but not
>>> a
>>> portion of the row. Does anyone know if this is possible? I tried to set
>>> up the table without the SWT.FULL_SELECTION flag, but I can only select
>>> the first cell.
>>> TIA, Berta
>>>
>
>
Previous Topic:Swing Table to SWT Table
Next Topic:CoolBars on Linux-GTK
Goto Forum:
  


Current Time: Thu Mar 28 21:12:10 GMT 2024

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

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

Back to the top