Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Render html content in cells(Is there a cell painter to render html)
Render html content in cells [message #1445285] Wed, 15 October 2014 08:29 Go to next message
Benjamin Schwertfeger is currently offline Benjamin SchwertfegerFriend
Messages: 53
Registered: July 2009
Member
Hi,
is there support to render html content in cells? I tried to find some information of custom renderers, but the default seems to be text customization or manual painting on the graphics context.

Thanks
Benjamin
Re: Render html content in cells [message #1445360 is a reply to message #1445285] Wed, 15 October 2014 10:25 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
Which is the control you are asking about?
Re: Render html content in cells [message #1445362 is a reply to message #1445360] Wed, 15 October 2014 10:29 Go to previous messageGo to next message
Benjamin Schwertfeger is currently offline Benjamin SchwertfegerFriend
Messages: 53
Registered: July 2009
Member
I have a NatTable because it supports large data sets. Perhaps I have to change the table implementation, to support inner tables.
Re: Render html content in cells [message #1445370 is a reply to message #1445362] Wed, 15 October 2014 10:42 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
Please ask question on NatTable in the NatTable forum.

NatTable is a painted control based on Canvas. If you need to render HTML you need to implement a custom ICellPainter that knows how to do this.
If you need to support inner tables NatTable has the TableCellPainter that at least supports rendering of a one column inner table in a cell, e.g. if your data model contains a collection of simple values.

If you need a more complex inner table, you might go on searching for another table implementation. NatTable doesn't support this atm.
Previous Topic:GridTableViewer with Checkbox Column (binding)
Next Topic:New to Nattable
Goto Forum:
  


Current Time: Tue Sep 25 01:54:22 GMT 2018

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

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

Back to the top