Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Table alignments - set different alignments on a single column
Table alignments - set different alignments on a single column [message #78758] Wed, 19 March 2008 13:07 Go to next message
Eclipse UserFriend
Hi,

does anyone knows if is it possible to give different alignments to a
table header column and to the records on that column? Example, the
header column text be set with a SWT.LEFT alignment and the records on
that column be set with a SWT.RIGHT alignment.

Currently TableColumn only has a setAllignment(int) that defines the
alignment for all information on the column (header + data). Is it
possible, in same way, to give separate alignments to a single column?

I'm using label providers and table viewers to interact with the table.
Don't know if this helps with something...

Thanks in advance,
Hugo Ferreira
Re: Table alignments - set different alignments on a single column [message #78907 is a reply to message #78758] Sun, 23 March 2008 10:42 Go to previous message
Eclipse UserFriend
Hi Hugo,

as far as I can see that is even in SWT not possible besides
owner-drawing cells. So there will be no support in RAP as long as this
is not possible in SWT without owner-drawing the cells.

Greets
Benny

Hugo Ferreira wrote:
> Hi,
>
> does anyone knows if is it possible to give different alignments to
> a table header column and to the records on that column? Example, the
> header column text be set with a SWT.LEFT alignment and the records on
> that column be set with a SWT.RIGHT alignment.
>
> Currently TableColumn only has a setAllignment(int) that defines the
> alignment for all information on the column (header + data). Is it
> possible, in same way, to give separate alignments to a single column?
>
> I'm using label providers and table viewers to interact with the table.
> Don't know if this helps with something...
>
> Thanks in advance,
> Hugo Ferreira
Previous Topic:Problems with event enqueueing and client-server synchronization
Next Topic:Servlet delegate not registered without javax.servlet plugins
Goto Forum:
  


Current Time: Tue May 13 06:34:52 EDT 2025

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

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

Back to the top