Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Different styles in a table cell
Different styles in a table cell [message #727033] Tue, 20 September 2011 08:50 Go to next message
Sebastian Bauer is currently offline Sebastian BauerFriend
Messages: 25
Registered: July 2009
Junior Member
I like to render parts of am RWT table cell using different styles. That is, one part of the text should be plain while the other part uses boldface letters. I like to implement this feature for a table, whose content can be filtered by text strings. In particular, I like to highlight the text, which matches the given filter string. The table is already virtual but I don't find support for PaintItem events as in SWT. Is this possible do this with a current version of RWT?

TIA
Sebastian
Re: Different styles in a table cell [message #727039 is a reply to message #727033] Tue, 20 September 2011 09:03 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Sebastian,

support for enriched content for table cells (and other text widgets) is
underway. See this bug for details:
346768: [Table] Support markup for rich text in table items
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346768

The code is contained in the nightly builds [1]. Be aware that the
markup will very likely change.

Regards,
Rüdiger

[1] http://eclipse.org/rap/downloads

On 20.09.2011 10:50, Sebastian Bauer wrote:
> I like to render parts of am RWT table cell using different styles. That
> is, one part of the text should be plain while the other part uses
> boldface letters. I like to implement this feature for a table, whose
> content can be filtered by text strings. In particular, I like to
> highlight the text, which matches the given filter string. The table is
> already virtual but I don't find support for PaintItem events as in SWT.
> Is this possible do this with a current version of RWT?
>
> TIA
> Sebastian


--
Rüdiger Herrmann

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Editing Date fields
Next Topic:ScrollBar Widget LCA
Goto Forum:
  


Current Time: Fri Apr 26 18:19:51 GMT 2024

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

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

Back to the top