Get values from grid column - Vaadin 14

Hello! How can I get the values from a grid column ( get column by getColumnByIndex) into a list? Thanks!

There’s no way to do that through the Grid. Grid or Grid’s Column don’t have accessors to the data in the cells, because Grid is designed to work with a potentially very large number of rows. You need to read the data from the backing data source instead.

Olli Tietäväinen:
There’s no way to do that through the Grid. Grid or Grid’s Column don’t have accessors to the data in the cells, because Grid is designed to work with a potentially very large number of rows. You need to read the data from the backing data source instead.

Thank you!