Questions about Nattable capabilities [message #997422] |
Mon, 07 January 2013 12:49 |
|
Hi all,
I'm investigating NatTable to use it in the Papyrus project and after looking at your jnlp example, I have several question about the capabilities of NatTable :
- Is it possible to write vertically in the header (line or column header) ?
- Is it possible to write vertically in the header (line or column header) ?
- Is it possible to have several level of line headers (like it is show for columns in the jnlp example called "Columns And Row Grouping/Two level column group") ?
- Is it possible to configure the style (color, line style , width of the line, ...) of each border of the cells?
- Is it possible to display a full TreeViewer in a Cell ?
- Is it possible to display an image in a Cell?
- Is It possible to edit the headers with 'inline' editor like for the cells ?
- Is it possible to do several freeze in the table using the FreezableGrid ?
- Is it possible to display a full TreeViewer in a cell ?
- Is it possible to display images in a cell ?
Thank you.
|
|
|
Re: Questions about Nattable capabilities [message #997457 is a reply to message #997422] |
Mon, 07 January 2013 15:49 |
Dirk Fauth Messages: 2903 Registered: July 2012 |
Senior Member |
|
|
Quote:Is it possible to write vertically in the header (line or column header) ?
Yes you can render text vertically by using the VerticalTextPainter.
Quote:Is it possible to have several level of line headers?
Yes you can also define a row group header. It is also possible to define your own row header that is composed differently than the default.
Quote:Is it possible to configure the style (color, line style , width of the line, ...) of each border of the cells?
Yes, you would need to configure different LineBorderDecorators or CustomLineBorderDecorators for different labels.
Quote:Is it possible to display a full TreeViewer in a Cell ?
Currently not that easy. This would mean to have a cell painter for another control. We are currently working on that, so this should soon be possible.
Quote:Is it possible to display an image in a Cell?
Yes, have a look at the ImagePainter.
Quote:Is It possible to edit the headers with 'inline' editor like for the cells ?
Yes, you need to adjust some default configurations, then it should work.
Quote:Is it possible to do several freeze in the table using the FreezableGrid ?
No, AFAIK this is not possible. It would mean you need to have several scroll areas. Maybe your requirement can also be solved by creating hierarchical NatTables, which is something we talked about internally before and will be implemented in the near future.
As some of your questions were posted several times, I hope I answered all of your questions.
Greez,
Dirk
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03464 seconds