Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Grid: setColumnCollapsingAllowed(true)

App Keto
5 years ago Jun 06, 2016 7:00pm
Teemu Suo-Anttila
5 years ago Jun 07, 2016 8:01am

Hi,

You can do this by setting individual columns hidable in Grid.

for (Column c : grid.getColumns()) {
    c.setHidable(true);
}

//Teemu

App Keto
5 years ago Jun 07, 2016 8:17am