In the v14 grid, after setting header row components (like filters) there is no way to get the component after the fact (like clearing it or getting its value).
A workaround is to store them in a local map that will eventually go out of sync or override the Grids default column factory, extend the default column and add:
`
public class MyColumn<T> extends Column<T>{
private Component headerComponent;
@Override
protected void setHeaderComponent(Component component) {
super.setHeaderComponent(component);
headerComponent = component;
}
public Component getHeaderComponent() {
return headerComponent;
}
}`
would be nice to have this in the public API just like we had in the V8 Grid.
Tested with Vaadin 14.0.1
In the v14 grid, after setting header row components (like filters) there is no way to get the component after the fact (like clearing it or getting its value).
A workaround is to store them in a local map that will eventually go out of sync or override the Grids default column factory, extend the default column and add:
`
}`
would be nice to have this in the public API just like we had in the V8 Grid.
Tested with Vaadin 14.0.1