Vaadin 10 Grid on Mobile

Hi guys,
is possible to change a vaadin-grid number of columns if we are in mobile context?
I mean, is there a @media (max-width: 600px) implementation that I can use for this purpose?

Is there also a java code that is possible to use to change component behavior if we are in mobile or that media situation?

Gianluca

You can use the <iron-media-query> element to show/hide columns based on a CSS media query. See the “Hiding Columns” example here: https://vaadin.com/components/vaadin-grid/html-examples/grid-columns-demos