Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » can Table cells wrap lines?
can Table cells wrap lines? [message #110132] Wed, 22 October 2008 02:41 Go to next message
David Donohue is currently offline David DonohueFriend
Messages: 104
Registered: July 2009
Senior Member
Hello!
I am populating a Table widget (class org.eclipse.swt.widgets.Table) with
lengthy text values. When such values are longer than the column's width,
the overflow text is not visible. Is there a way to make a table widget's
content wrap?
Thanks,
David Donohue
Re: can Table cells wrap lines? [message #110289 is a reply to message #110132] Thu, 23 October 2008 08:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi David,

wrapping table cells is not supported out-of-the-box. I don't know
of a workaround, but maybe there is someone else who worked around
that...

Cheers,
Rüdiger

David Donohue wrote:
> Hello!
> I am populating a Table widget (class org.eclipse.swt.widgets.Table)
> with lengthy text values. When such values are longer than the column's
> width, the overflow text is not visible. Is there a way to make a table
> widget's content wrap?
> Thanks,
> David Donohue
>
Re: can Table cells wrap lines? [message #110433 is a reply to message #110289] Fri, 24 October 2008 08:58 Go to previous messageGo to next message
David Donohue is currently offline David DonohueFriend
Messages: 104
Registered: July 2009
Senior Member
Rüdiger,
How about this workaround: on mouseover, the entire text of the table cell
shows up as a tooltip. Is that possible?

Are you aware of any other widget besides Table which can render like a
grid?
Thanks!
David Donohue
Re: can Table cells wrap lines? [message #110478 is a reply to message #110433] Fri, 24 October 2008 13:22 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

David,

please see my comments below.

Cheers,
Rüdiger

David Donohue wrote:
> Rüdiger,
> How about this workaround: on mouseover, the entire text of the table
> cell shows up as a tooltip. Is that possible?
Possible, yes, probably, but not provided out of the box. There is a
discussion about how tooltips could be implemented in this thread [1].

>
> Are you aware of any other widget besides Table which can render like a
> grid?
If you have only *very* few "cells" to display, you lay out labels
in a ScrolledComposite.
With even a moderate amount of rows, you are likely to stress the
client that much that the app becomes unusable.

> Thanks!
> David Donohue
>

[1]
http://www.eclipse.org/newsportal/article.php?id=4695&gr oup=eclipse.technology.rap#4695
Previous Topic:How to implement ToolTips on Table-Cells ?
Next Topic:error when rap plugins loaded from workspace
Goto Forum:
  


Current Time: Thu Mar 28 23:36:48 GMT 2024

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

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

Back to the top