Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin Grid Disable horizontal Scrollbar and Sorting
Hallo,
I'am using Vaadin 7.5.5 and the Vaadin Grid.
How to disable the horizontal scrollbar?
How may I disable the column sorting.
Thanks
Patrick
You can disable column sorting by calling setSortable(false) for every column that should not be sorted.
As to how to disable the horizontal scollbar, that is something that I would like to do, too. Does anybody has an Idea for this?
You could either freeze all of the columns, like so:
grid.setFrozenColumnCount(grid.getColumns().size());
Or try the following style:
.v-grid-scroller-horizontal {
display: none;
}