User settings/preferences flow solution

Hello! I come searching for opinions and advice. I am using Vaadin 24.8 and Java 21.
Currently, we have an old desktop client ( i will call it client for short ) and I am investigating how exactly to migrate certain parts to a new Vaadin web application.
What we have in the client is the possibility to customize the font, background color, grids ( which fields to include in the result grid, their length, how to sort the grid, etc. ), last selected PK ( from a grid ).
All of this information is stored in a preference file, locally on the user’s PC and read from there. Since Vaadin is browser based, I suppose this information will have to be stored in the browser or a separate DB for the Vaadin server. Is this somehow similar to what you guys had to provide as a user preference in your Vaadin apps, can you suggest any routes that I can investigate? I want to build it in the most suitable way for Vaadin.
Thanks in advance.

I assume users need to log in to use the application and I assume they want to get the same settings if they log in from a different computer. Based on these assumptions, it would be most natural to store the settings in the server-side database.

Your assumptions are valid.

I imagine it as using some of the grid’s existing listeners, with a combination of this solution

And then when the user changes something, storing the information, and also relying on the information when the grid (for example) is rendered.