Vaadin8 Grid, Order for Columns

Someone know if it is possible change the orden of the title or orden of columns of a Grid?
When Grid is declarate like this
Grid personas = new Grid<>(Person.class);
then Person.class has the getters and setters, so, there are no orders for the columns??
What does it depend the order?


try to use
grid.setColumns(“YOUR ORDER”);

hope it can help you somehow.

Thanks, i am work with this
grid.setColumnOrder(“first_column”,“second_column”,“…”); for ordering, and this for rename

grid.getColumn(“id(or name)_of_your_column”).setCaption(“New name”);

and this work fine, but i don´t know if it is the form right…