Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » selectinh multiple items in SWT Table
selectinh multiple items in SWT Table [message #464325] Mon, 21 November 2005 15:40 Go to next message
vijaishanker is currently offline vijaishanker
Messages: 60
Registered: July 2009
Member
hi,

i have wrote a piece of code that displays a table which has 2
columns.When i click on a table row, only one the item in the first
selection gets selected. I need to select an item from column 1 and
another item on a different row from column 2. Is this possible using the
SWT table

thanks

Vijai
Re: selectinh multiple items in SWT Table [message #464342 is a reply to message #464325] Mon, 21 November 2005 18:44 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz Maierhofer
Messages: 88
Registered: July 2009
Member
Hi,

try specifying the style SWT.MULTI when creating the table.

Lorenz

Vijai wrote:
> hi,
>
> i have wrote a piece of code that displays a table which has 2
> columns.When i click on a table row, only one the item in the first
> selection gets selected. I need to select an item from column 1 and
> another item on a different row from column 2. Is this possible using
> the SWT table
>
> thanks
>
> Vijai
>
Re: selectinh multiple items in SWT Table [message #464367 is a reply to message #464342] Tue, 22 November 2005 08:54 Go to previous messageGo to next message
vijaishanker is currently offline vijaishanker
Messages: 60
Registered: July 2009
Member
Hi,
but specifying SWT.MULTI selects multiple items of the same
column...namely the first column, but I want to select one item from the
first column and another item from the second column possibly at a
different index

Thanks
Vijai

Lorenz Maierhofer wrote:

> Hi,

> try specifying the style SWT.MULTI when creating the table.

> Lorenz

> Vijai wrote:
>> hi,
>>
>> i have wrote a piece of code that displays a table which has 2
>> columns.When i click on a table row, only one the item in the first
>> selection gets selected. I need to select an item from column 1 and
>> another item on a different row from column 2. Is this possible using
>> the SWT table
>>
>> thanks
>>
>> Vijai
>>
Re: selectinh multiple items in SWT Table [message #464371 is a reply to message #464367] Tue, 22 November 2005 09:18 Go to previous messageGo to next message
Eclipse User
Originally posted by: friederich.kupzog.de

Hi,

try KTable
http://sourceforge.net/projects/ktable

Regards,
Friederich

Vijai wrote:
> Hi,
> but specifying SWT.MULTI selects multiple items of the same
> column...namely the first column, but I want to select one item from the
> first column and another item from the second column possibly at a
> different index
>
> Thanks
> Vijai
>
> Lorenz Maierhofer wrote:
>
>> Hi,
>
>
>> try specifying the style SWT.MULTI when creating the table.
>
>
>> Lorenz
>
>
>> Vijai wrote:
>>
>>> hi,
>>>
>>> i have wrote a piece of code that displays a table which has 2
>>> columns.When i click on a table row, only one the item in the first
>>> selection gets selected. I need to select an item from column 1 and
>>> another item on a different row from column 2. Is this possible using
>>> the SWT table
>>>
>>> thanks
>>>
>>> Vijai
>>>
>
>


--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel 0241 160696-1
Fax 0221 726670
www.kupzog.de/fkmk
Re: selectinh multiple items in SWT Table [message #464392 is a reply to message #464325] Tue, 22 November 2005 18:30 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika Irvine
Messages: 1272
Registered: July 2009
Senior Member
The SWT Table does not select individual cells but rather whole rows.
SWT.MULTI will allow you to select multiple rows but that does not sound
like what you are looking for.

"Vijai" <voodoo_6600@yahoo.com> wrote in message
news:84464fbb5371d6f9763a002db1870055$1@www.eclipse.org...
> hi,
>
> i have wrote a piece of code that displays a table which has 2
> columns.When i click on a table row, only one the item in the first
> selection gets selected. I need to select an item from column 1 and
> another item on a different row from column 2. Is this possible using the
> SWT table
>
> thanks
>
> Vijai
>
Re: selectinh multiple items in SWT Table [message #464667 is a reply to message #464325] Mon, 28 November 2005 14:11 Go to previous message
Roland Tepp is currently offline Roland Tepp
Messages: 336
Registered: July 2009
Senior Member
Try SWT.FULL_SELECTION

Vijai kirjutas mulle ühel talvisel päeval midagi seesugust:
> hi,
>
> i have wrote a piece of code that displays a table which has 2
> columns.When i click on a table row, only one the item in the first
> selection gets selected. I need to select an item from column 1 and
> another item on a different row from column 2. Is this possible using
> the SWT table
>
> thanks
>
> Vijai
>

--
Roland Tepp
Previous Topic:is the time-delay for SWT.MouseHover adjustable?
Next Topic:Table Get Selected Cell
Goto Forum:
  


Current Time: Thu Oct 02 14:41:04 GMT 2014

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

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