"Select All"-Checkbox in Grid


is there any possibility to change the state of the “Select All”-Checkbox programmatically?
My filters are working with backend beans, so I’m basically replacing the contents of the Container by the filtered entities.


Any news on this?


I’m not exactly sure what you mean, but does the method com.vaadin.ui.Grid.MultiSelectionModel.selectAll() and deselectAll() not work for you? Or do they not update the select all checkbox properly?


They do work for me. I need to get in control of the checkbox which renders into the table if MultiSelection is allowed. It’s state gets out of sync with the selection on replacing the items within the container.