[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: how to freeze column in SWT table

Just one thing to add: You can use the same snippet that Grant linked to with the Grid (replacing the appropriate class names) and you can tell the left Grid not to show its scrollbar.

-Chris

Tom Schindl wrote:
No it doesn't but there it will probably in future at least there are people talking about contributing this kind of thing.

Tom

Matthew Hall schrieb:
I believe that the Nebula Grid control supports this:
http://www.eclipse.org/nebula/widgets/grid/grid.php

Matthew

Grant Gayed wrote:
This is not supported. The closest you can get is to use two tables as
demonstrated in
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet234.java .
Its obvious shortcoming is the vertical scrollbar between the "first" and
"second" columns.


Grant


"TKR" <khannarajesht@xxxxxxxxx> wrote in message news:74117a2db31ea544aa381ecba6e3c132$1@xxxxxxxxxxxxxxxxxx
Hi,
I have a table with the following deceleration.

Table table_1 = new Table(composite_4, SWT.FULL_SELECTION |
SWT.SINGLE|SWT.BORDER
                          | SWT.CHECK);

I want to freeze first two columns in table.

please help me to resolve this.

Thanks & Regards
TKR