Vaadin grid setBodyRowHeight doesn't exist in latest 8.1.4 API

允我心安 提交于 2019-12-13 07:25:34

问题


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...

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.


回答1:


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



来源:https://stackoverflow.com/questions/46259633/vaadin-grid-setbodyrowheight-doesnt-exist-in-latest-8-1-4-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!