Grid is duplicating rows

Hi… please check the attached image… as you can see, there is some duplicated (and triplicated in some cases) rows… when I setItems I also printed to the console all the data returned from my service, the case is, there is only one register in the printed lines in console, but there is a lot of duplicated lines in the grid. Is there something I’m doing wrong?
18149341.png

One thing that comes to mind that could cause that is that if you don’t have the hashcode and equals methods implemented in your Grid’s bean class. See more here: https://www.baeldung.com/java-equals-hashcode-contracts

Olli Tietäväinen:
One thing that comes to mind that could cause that is that if you don’t have the hashcode and equals methods implemented in your Grid’s bean class. See more here: https://www.baeldung.com/java-equals-hashcode-contracts

This solved my problem. Thank you very much!