问题
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