最新的8.1.4 API中不存在Vaadin网格setBodyRowHeight [英] Vaadin grid setBodyRowHeight doesn't exist in latest 8.1.4 API

查看:82
本文介绍了最新的8.1.4 API中不存在Vaadin网格setBodyRowHeight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我正在使用组件和

I'm trying to adjust the height of the rows since I'm using components and the Vaadin Grid documentation says you can do this by calling setBodyRowHeight however that method no longer seems to be available...

更新:我找到了方法setRowHeight()(手册需要更新),但是这也改变了我不希望的列标题行高,我只是希望行高(以便组件合适)而不能标头.

UPDATE: I found the method setRowHeight() (the manual needs updating) however this also changes the column header row height which I don't want, I just want the rows to be taller (so the component fits) and not the header.

推荐答案

看来这是最新版本中的问题,因此无法执行用户手册中所述的内容.话虽如此,预计将在版本8.2.0中解决: https://vaadin.com/download/prerelease/8.2/8.2.0/8.2.0.alpha1/release-notes.html

It appears that this is an issue in the latest version and as a result it's not possible to do what the user manual states. That being said it is expected to be resolved in version 8.2.0: https://vaadin.com/download/prerelease/8.2/8.2.0/8.2.0.alpha1/release-notes.html

这篇关于最新的8.1.4 API中不存在Vaadin网格setBodyRowHeight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆