Vaadin网格单元格未显示多行的行 [英] Vaadin Grid cell not showing multiline rows
问题描述
我已经尝试过:
>-
java
\\\
新行字符和CSS样式,如
white-space:pre;
但它似乎不起作用。 (此解决方案适用于表) 使用 java
\n
new line character and CSS stylings likewhite-space: pre;
but it does not seem to work. (This solution worked for Table)custom renderer
setRenderer(HtmlRenderer)
with</br>
tags and different CSS display settings
>< / br>
标记和不同的CSS显示设置 b $ b Vaadin Grid仍然没有原生支持多行列,但你可以尝试一些即兴创作,例如我建议看到Vaadin论坛的讨论链接:
网格 - 如何在一个单元格中显示多行
您也可以尝试为Grid创建自定义渲染器。
With Vaadin Grid, I want to generate multiline cells for every cell that have more content in cell that overlaps its width.
I have allready tried:
Desired result:
Vaadin Grid still doesn't have native support for multiline columns but you can try some improvisation, on example I suggest to see the Vaadin forum discussion on the link: Grid - How to display multiple lines in one cell
Also you can try to create custom renderer for the Grid.
这篇关于Vaadin网格单元格未显示多行的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!