Skip to main content



      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 10:40 Go to next message
Eclipse UserFriend
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 13:44 Go to previous messageGo to next message
Eclipse UserFriend
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 03:54 Go to previous messageGo to next message
Eclipse UserFriend
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 04:18 Go to previous messageGo to next message
Eclipse UserFriend
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 13:30 Go to previous messageGo to next message
Eclipse UserFriend
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 09:11 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 19:34:35 EDT 2025

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

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

Back to the top