Vaadin 7: how to reset a filter HeaderRow

I am having a problem re-populating a Grid.IndexedContainer that has a filter, addItem() returns null and like I could infer checking the source code, seems to be related to the filter currently applied.
I tried to cleaning the TextField and setValue(“”), but this doesn’t fire the event to remove any filtered row.

Grid.HeaderRow headerRow = panel.getgGrupos().getHeaderRow(1);
Grid.HeaderCell cell = headerRow.getCell(1);
TextField component = (TextField) cell.getComponent();
component.setValue("");

There is a horrible and unified example of how to implement a filter, which add and remove and re-create (very inefficient)

an hour later… the reset of the filter works well, but there is no explanation for the null return when I try to add a new item

 Grid.HeaderCell cell = filterRow.getCell(propertyId);
TextField filterField = new TextField();
filterField.setSizeFull();
filterField.setInputPrompt("...");
filterField.addTextChangeListener(change -> {

	container.removeContainerFilters(propertyId);
	if (!change.getText().isEmpty()) {
		container.addContainerFilter(new StringFilter(propertyId, change.getText()));
	}
});
cell.setComponent(filterField);

so… how can I do this? so addItem() doesn’t return null

an hour later… the reset of the filter works well, but there is no explanation for the null return when I try to add a new item