Grid: setColumnCollapsingAllowed(true)

Do we have setColumnCollapsingAllowed(true) for Grid?
It would be great feature to have because it is so cool in table to use that feature.

How would one ​setColumnCollapsingAllowed(true) in Grid? Any clues.

Hi,

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

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

//Teemu

Awesome. Thanks. :slight_smile: