I am using a DataProvider to keep my grid up to date. .refreshItem(item) works perfectly fine for modifying existing items. My issue starts when I need to introduce new items in my grid. To do so I use a form that when save is pressed calls dataProvider.refreshAll() unfortunately this seems to do nothing I need to refresh the page manually in order to see the new item.
My dataProvider gets its data from a DB as follows:
var technologyList = technologyService.findAllTechnologies();
dataProvider = DataProvider.ofCollection(technologyList);