Using Renderers with the getColumnByKey method in Grid (Vaadin 14)

Hello,

is it possible to use any Renderer (for example the LocalDateRenderer) with the getColumnByKey instead of the addColumn method in Grid? Because my columns are set with the setColumns method.

Thank your for your answers!

Julia

No, there is no method in Column like setRenderer(…) so you cannot change it on the fly. So I you want to use Renderers you need to configure the columns using addColumn instead of setColumns.

Thank you for the answer, Tatu Lund!