I am trying to add an icon (FontAwesome) to a grid…thought of adding it as a button, but could not figure how.
Is it possible?
Or should it be done as a image?
Yes, this is possible. However, you need to add column renderer to render the desired column of the grid, see https://vaadin.com/book/-/page/components.grid.html#components.grid.renderer.
To just render an icon, one can use the HtmlRenderer and convert the font icon to html, e.g. FontAwesome.ANGLE_UP.getHtml() to display the icon ANGLE_UP.