How add items to grid if dataprovider have type ConfigurableFilterDataProvi

I have this objects declaration:

private ConfigurableFilterDataProvider<myRecord, Void, String> dataProvider;
private Grid<myRecord> grid;

And if dataProvider for grid have type ListDataProvider, i can get it and add items like this code:

ListDataProvider<myRecord> lst = (ListDataProvider) grid.getDataProvider();
lst.getItems().add(new myRecord());

But how add item for ConfigurableFilterDataProvider?

Add them to your original DataProvider that you’re wrapping with the ConfigurableFilterDataProvider.